From fdd8868e8c6199c0c5ef05b52870f218fb139598 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 4 Nov 2021 12:25:55 +0300 Subject: nvim: use efm --- .config/nvim/init.lua | 4 ---- .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 @@ -- │ ▘▝▀▘▝▀▘│ -- └────────┘ --- do not source the default filetype.vim --- needed for filetype.nvim -vim.g.did_load_filetypes = 1 - require('plugins') require('settings') 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 } end +nvim_lsp['efm'].setup{ + on_attach = on_attach, + filetypes = { 'sh' }, + capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()) +} + -- }}} nvim-lsp -- -- vista {{{ -- -- cgit v1.2.3-70-g09d2