diff options
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/init.lua | 4 | ||||
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 4644f60..cd20fc3 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua | |||
@@ -11,10 +11,6 @@ | |||
11 | -- │ ▘▝▀▘▝▀▘│ | 11 | -- │ ▘▝▀▘▝▀▘│ |
12 | -- └────────┘ | 12 | -- └────────┘ |
13 | 13 | ||
14 | -- do not source the default filetype.vim | ||
15 | -- needed for filetype.nvim | ||
16 | vim.g.did_load_filetypes = 1 | ||
17 | |||
18 | require('plugins') | 14 | require('plugins') |
19 | require('settings') | 15 | require('settings') |
20 | require('plugin_settings') | 16 | require('plugin_settings') |
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 4bc7081..1f39e5f 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua | |||
@@ -354,6 +354,12 @@ for _, lsp in ipairs(servers) do | |||
354 | } | 354 | } |
355 | end | 355 | end |
356 | 356 | ||
357 | nvim_lsp['efm'].setup{ | ||
358 | on_attach = on_attach, | ||
359 | filetypes = { 'sh' }, | ||
360 | capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()) | ||
361 | } | ||
362 | |||
357 | -- }}} nvim-lsp -- | 363 | -- }}} nvim-lsp -- |
358 | 364 | ||
359 | -- vista {{{ -- | 365 | -- vista {{{ -- |