Add editorconfig-vim
This commit is contained in:
parent
0a5bba771f
commit
442a587137
1 changed files with 9 additions and 7 deletions
10
init.lua
10
init.lua
|
@ -54,12 +54,10 @@ local config = {
|
||||||
diagnostics_mode = 3, -- set the visibility of diagnostics in the UI (0=off, 1=only show in status line, 2=virtual text off, 3=all on)
|
diagnostics_mode = 3, -- set the visibility of diagnostics in the UI (0=off, 1=only show in status line, 2=virtual text off, 3=all on)
|
||||||
icons_enabled = true, -- disable icons in the UI (disable if no nerd font is available, requires :PackerSync after changing)
|
icons_enabled = true, -- disable icons in the UI (disable if no nerd font is available, requires :PackerSync after changing)
|
||||||
ui_notifications_enabled = true, -- disable notifications when toggling UI elements
|
ui_notifications_enabled = true, -- disable notifications when toggling UI elements
|
||||||
|
|
||||||
-- Copilot
|
-- Copilot
|
||||||
copilot_no_tab_map = true,
|
copilot_no_tab_map = true,
|
||||||
copilot_assume_mapped = true,
|
copilot_assume_mapped = true,
|
||||||
copilot_tab_fallback = "",
|
copilot_tab_fallback = "",
|
||||||
|
|
||||||
-- Taglist
|
-- Taglist
|
||||||
Tlist_Use_Right_Window = 1,
|
Tlist_Use_Right_Window = 1,
|
||||||
Tlist_GainFocus_On_ToggleOpen = 1,
|
Tlist_GainFocus_On_ToggleOpen = 1,
|
||||||
|
@ -166,7 +164,6 @@ local config = {
|
||||||
-- tables with the `name` key will be registered with which-key if it's installed
|
-- tables with the `name` key will be registered with which-key if it's installed
|
||||||
-- this is useful for naming menus
|
-- this is useful for naming menus
|
||||||
["<leader>b"] = { name = "Buffers" },
|
["<leader>b"] = { name = "Buffers" },
|
||||||
|
|
||||||
-- Trigger Alpha dashboard on close when no buffers are left
|
-- Trigger Alpha dashboard on close when no buffers are left
|
||||||
["<leader>c"] = {
|
["<leader>c"] = {
|
||||||
function()
|
function()
|
||||||
|
@ -176,7 +173,6 @@ local config = {
|
||||||
end,
|
end,
|
||||||
desc = "Close buffer",
|
desc = "Close buffer",
|
||||||
},
|
},
|
||||||
|
|
||||||
-- quick save
|
-- quick save
|
||||||
-- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
|
-- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
|
||||||
|
|
||||||
|
@ -379,6 +375,12 @@ local config = {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- Editorconfig
|
||||||
|
{
|
||||||
|
"editorconfig/editorconfig-vim",
|
||||||
|
event = "BufRead"
|
||||||
|
},
|
||||||
|
|
||||||
-- You can also add new plugins here as well:
|
-- You can also add new plugins here as well:
|
||||||
-- Add plugins, the lazy syntax
|
-- Add plugins, the lazy syntax
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue