Add editorconfig-vim
This commit is contained in:
parent
0a5bba771f
commit
442a587137
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)
|
||||
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
|
||||
|
||||
-- Copilot
|
||||
copilot_no_tab_map = true,
|
||||
copilot_assume_mapped = true,
|
||||
copilot_tab_fallback = "",
|
||||
|
||||
-- Taglist
|
||||
Tlist_Use_Right_Window = 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
|
||||
-- this is useful for naming menus
|
||||
["<leader>b"] = { name = "Buffers" },
|
||||
|
||||
-- Trigger Alpha dashboard on close when no buffers are left
|
||||
["<leader>c"] = {
|
||||
function()
|
||||
@ -176,7 +173,6 @@ local config = {
|
||||
end,
|
||||
desc = "Close buffer",
|
||||
},
|
||||
|
||||
-- quick save
|
||||
-- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
|
||||
|
||||
@ -379,6 +375,12 @@ local config = {
|
||||
end,
|
||||
},
|
||||
|
||||
-- Editorconfig
|
||||
{
|
||||
"editorconfig/editorconfig-vim",
|
||||
event = "BufRead"
|
||||
},
|
||||
|
||||
-- You can also add new plugins here as well:
|
||||
-- Add plugins, the lazy syntax
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user