mirror of
https://github.com/neovim/nvim-lspconfig
synced 2024-09-16 14:24:07 +02:00
fix(taplo): simplify root detection now that single file mode is supported (#3267)
This commit is contained in:
parent
a67bc39aaa
commit
ad32182cc4
1 changed files with 1 additions and 3 deletions
|
@ -4,9 +4,7 @@ return {
|
|||
default_config = {
|
||||
cmd = { 'taplo', 'lsp', 'stdio' },
|
||||
filetypes = { 'toml' },
|
||||
root_dir = function(fname)
|
||||
return util.root_pattern '*.toml'(fname) or util.find_git_ancestor(fname)
|
||||
end,
|
||||
root_dir = util.find_git_ancestor,
|
||||
single_file_support = true,
|
||||
},
|
||||
docs = {
|
||||
|
|
Loading…
Reference in a new issue