diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2022-04-17 09:57:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-17 09:57:37 -0700 |
| commit | a6d494133fc00fc67a5596a44d4ff819133c67c2 (patch) | |
| tree | c64bec1322a2c65b2082889a16ba404b0f466c20 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-a6d494133fc00fc67a5596a44d4ff819133c67c2.tar nvim-lspconfig-a6d494133fc00fc67a5596a44d4ff819133c67c2.tar.gz nvim-lspconfig-a6d494133fc00fc67a5596a44d4ff819133c67c2.tar.bz2 nvim-lspconfig-a6d494133fc00fc67a5596a44d4ff819133c67c2.tar.lz nvim-lspconfig-a6d494133fc00fc67a5596a44d4ff819133c67c2.tar.xz nvim-lspconfig-a6d494133fc00fc67a5596a44d4ff819133c67c2.tar.zst nvim-lspconfig-a6d494133fc00fc67a5596a44d4ff819133c67c2.zip | |
feat(vimls): enable neovim support by default (#1844)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/vimls.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/lspconfig/server_configurations/vimls.lua b/lua/lspconfig/server_configurations/vimls.lua index 4f0d1d93..9b33d3a6 100644 --- a/lua/lspconfig/server_configurations/vimls.lua +++ b/lua/lspconfig/server_configurations/vimls.lua @@ -11,10 +11,10 @@ return { default_config = { cmd = cmd, filetypes = { 'vim' }, - root_dir = function(fname) - return util.find_git_ancestor(fname) or vim.fn.getcwd() - end, + root_dir = util.find_git_ancestor, + single_file_support = true, init_options = { + isNeovim = true, iskeyword = '@,48-57,_,192-255,-#', vimruntime = '', runtimepath = '', |
