diff options
author | Yigit Sever | 2021-11-04 12:25:55 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-04 12:25:55 +0300 |
commit | fdd8868e8c6199c0c5ef05b52870f218fb139598 (patch) | |
tree | 33d0625a89ebf0350c7da2d383fb0b1e0d137c9d | |
parent | 78a8b85744cbef5cf6064a38b6e12b72a6ede0b0 (diff) | |
download | dotfiles-fdd8868e8c6199c0c5ef05b52870f218fb139598.tar.gz dotfiles-fdd8868e8c6199c0c5ef05b52870f218fb139598.tar.bz2 dotfiles-fdd8868e8c6199c0c5ef05b52870f218fb139598.zip |
nvim: use efm
-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 {{{ -- |