summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-11-04 12:25:55 +0300
committerYigit Sever2021-11-04 12:25:55 +0300
commitfdd8868e8c6199c0c5ef05b52870f218fb139598 (patch)
tree33d0625a89ebf0350c7da2d383fb0b1e0d137c9d
parent78a8b85744cbef5cf6064a38b6e12b72a6ede0b0 (diff)
downloaddotfiles-fdd8868e8c6199c0c5ef05b52870f218fb139598.tar.gz
dotfiles-fdd8868e8c6199c0c5ef05b52870f218fb139598.tar.bz2
dotfiles-fdd8868e8c6199c0c5ef05b52870f218fb139598.zip
nvim: use efm
-rw-r--r--.config/nvim/init.lua4
-rw-r--r--.config/nvim/lua/plugin_settings.lua6
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
16vim.g.did_load_filetypes = 1
17
18require('plugins') 14require('plugins')
19require('settings') 15require('settings')
20require('plugin_settings') 16require('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 }
355end 355end
356 356
357nvim_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 {{{ --