diff options
Diffstat (limited to 'lua/lspconfig/rnix.lua')
| -rw-r--r-- | lua/lspconfig/rnix.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lua/lspconfig/rnix.lua b/lua/lspconfig/rnix.lua index 5fb8d997..66a205de 100644 --- a/lua/lspconfig/rnix.lua +++ b/lua/lspconfig/rnix.lua @@ -1,13 +1,13 @@ -local configs = require "lspconfig/configs" -local util = require "lspconfig/util" +local configs = require 'lspconfig/configs' +local util = require 'lspconfig/util' -local name = "rnix" +local name = 'rnix' configs[name] = { default_config = { - cmd = { "rnix-lsp" }, - filetypes = { "nix" }, + cmd = { 'rnix-lsp' }, + filetypes = { 'nix' }, root_dir = function(fname) return util.find_git_ancestor(fname) or vim.loop.os_homedir() end, |
