mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-04 23:40:32 +00:00
Compare commits
5 commits
42841386cc
...
4abaf45e30
Author | SHA1 | Date | |
---|---|---|---|
4abaf45e30 | |||
854442e738 | |||
76ea921b89 | |||
6117305dfb | |||
e42a93bed7 |
10 changed files with 14 additions and 31 deletions
|
@ -5,11 +5,3 @@ vim.api.nvim_create_autocmd("TextYankPost", {
|
|||
vim.highlight.on_yank({ timeout = 1200 })
|
||||
end,
|
||||
})
|
||||
|
||||
-- set ft of .jinja.html files to htmldjango
|
||||
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||
pattern = "*.jinja.html",
|
||||
callback = function()
|
||||
vim.bo.filetype = "htmldjango"
|
||||
end,
|
||||
})
|
||||
|
|
|
@ -44,8 +44,3 @@ set("n", "<space>b", telescope_builtin.resume, opts)
|
|||
|
||||
-- LSP
|
||||
set("n", "<space>h", vim.lsp.buf.hover, opts)
|
||||
|
||||
-- Icon picker
|
||||
set("n", "<Leader>e", "<cmd>IconPickerNormal symbols emoji<cr>", opts)
|
||||
set("n", "<Leader>y", "<cmd>IconPickerYank symbols emoji<cr>", opts)
|
||||
set("i", "<C-e>", "<cmd>IconPickerInsert symbols emoji<cr>", opts)
|
||||
|
|
|
@ -45,6 +45,13 @@ o.pumblend = 10
|
|||
|
||||
--
|
||||
|
||||
o.guifont = "JetBrainsMono Nerd Font Mono"
|
||||
|
||||
o.shortmess = o.shortmess .. "S"
|
||||
|
||||
--
|
||||
|
||||
-- set ft of .jinja.html files to htmldjango
|
||||
vim.filetype.add({
|
||||
pattern = {
|
||||
[".+.jinja.html"] = "htmldjango",
|
||||
},
|
||||
})
|
||||
|
|
|
@ -61,20 +61,12 @@ return require("packer").startup({
|
|||
|
||||
-- Todo-comment
|
||||
use({
|
||||
"AmeerTaweel/todo.nvim",
|
||||
"folke/todo-comments.nvim",
|
||||
requires = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
})
|
||||
|
||||
-- Icon picker
|
||||
use({
|
||||
"ziontee113/icon-picker.nvim",
|
||||
requires = {
|
||||
"stevearc/dressing.nvim",
|
||||
},
|
||||
})
|
||||
|
||||
-- Treesitter
|
||||
use({
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
local npairs = require("nvim-autopairs")
|
||||
local Rule = require("nvim-autopairs.rule")
|
||||
|
||||
npairs.setup({
|
||||
check_ts = true,
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
require("icon-picker").setup({
|
||||
disable_legacy_commands = true,
|
||||
})
|
|
@ -153,7 +153,8 @@ cmp.setup.cmdline("/", {
|
|||
-- Use cmdline & path source for ":"
|
||||
cmp.setup.cmdline(":", {
|
||||
sources = {
|
||||
{ name = "path" },
|
||||
{ name = "cmdline" },
|
||||
{ name = "buffer" },
|
||||
{ name = "path" },
|
||||
},
|
||||
})
|
||||
|
|
|
@ -18,7 +18,7 @@ require("lualine").setup({
|
|||
lualine_b = { { search_count, type = "lua_expr" } },
|
||||
lualine_c = { { navic.get_location, cond = navic.is_available } },
|
||||
lualine_x = {},
|
||||
lualine_y = { "branch" },
|
||||
lualine_y = {},
|
||||
lualine_z = { "filetype" },
|
||||
},
|
||||
})
|
||||
|
|
1
.config/nvim/lua/plugins/todo-comments.lua
Normal file
1
.config/nvim/lua/plugins/todo-comments.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require("todo-comments").setup()
|
|
@ -1 +0,0 @@
|
|||
require("todo").setup()
|
Loading…
Reference in a new issue