diff options
| author | Robert Günzler <r@gnzler.io> | 2022-02-08 23:50:44 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-02-08 23:50:44 +0100 |
| commit | 9cf344abe6583c655a89cc48d732ee91c3d2e4c6 (patch) | |
| tree | acf6c2014fb26504c82bece75673e136e35ae495 /.vim/lua/lsp.lua | |
| parent | 6138a759778966253188a6a2f3b24f7f4927f879 (diff) | |
vim: install zk-nvim plugin
Diffstat (limited to '.vim/lua/lsp.lua')
| -rw-r--r-- | .vim/lua/lsp.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/.vim/lua/lsp.lua b/.vim/lua/lsp.lua index 2bb47b3..0f9e640 100644 --- a/.vim/lua/lsp.lua +++ b/.vim/lua/lsp.lua @@ -2,17 +2,6 @@ local lsp = require('lspconfig') -- local spinner_lsp = require('spinner.lsp') local lspstatus = require('lsp-status') -require('lspconfig/configs').zk = { - default_config = { - cmd = {'zk', 'lsp'}, - filetypes = {'markdown'}, - root_dir = function() - return vim.loop.cwd() - end, - settings = {}, - } -} - local my_attach = function(client, bufnr) if vim.opt.diff:get() then vim.notify('not running LSP client in diff mode') @@ -202,13 +191,6 @@ local setup = function() capabilities = caps, } - lsp.zk.setup { - on_attach = my_attach, - on_exit = my_exit, - capabilities = caps, - root_dir = lsp.util.root_pattern('.zk'), - } - end return { |