comparison dot_config/nvim/init.lua @ 308:33b9f4c5ae6a

Add check to see if veridian is installed before loading it as lsp
author zegervdv <zegervdv@me.com>
date Mon, 23 Nov 2020 16:20:21 +0100
parents b1578effa848
children 386f7d66c031
comparison
equal deleted inserted replaced
307:b1578effa848 308:33b9f4c5ae6a
97 lsp.pyls.setup{ 97 lsp.pyls.setup{
98 cmd = {"pyls"}, 98 cmd = {"pyls"},
99 on_attach = on_attach; 99 on_attach = on_attach;
100 } 100 }
101 101
102 lsp.veridian.setup{ 102 if (vim.fn.executable('veridian') == 1) then
103 on_attach = on_attach; 103 lsp.veridian.setup{
104 } 104 on_attach = on_attach;
105 }
106 end