fix config errors
This commit is contained in:
parent
2165ad0aa6
commit
1b8663a9e1
2 changed files with 6 additions and 2 deletions
|
@ -15,7 +15,7 @@ in {
|
|||
if config.isDesktop
|
||||
then ''
|
||||
local from_json = require('nix-neovim.utils').from_json
|
||||
for k, v in pairs(from_json("${json_setup})) do
|
||||
for k, v in pairs(from_json("${json_setup}")) do
|
||||
require("lspconfig")[k].setup(v)
|
||||
end
|
||||
''
|
||||
|
@ -24,6 +24,10 @@ in {
|
|||
if config.isDesktop
|
||||
then config.lspconfigPath
|
||||
else [];
|
||||
output.plugins =
|
||||
if config.isDesktop
|
||||
then [pkgs.vimPlugins.nvim-lspconfig]
|
||||
else [];
|
||||
};
|
||||
|
||||
options.lspconfig = mkOption {
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
dhall_lsp_server = {};
|
||||
diagnosticls = {};
|
||||
dockerls = {};
|
||||
elixirls.cmd = "elixir-ls";
|
||||
elixirls.cmd = ["elixir-ls"];
|
||||
gopls = {};
|
||||
hls.filetypes = ["haskell" "lhaskell" "cabal"];
|
||||
html = {};
|
||||
|
|
Loading…
Reference in a new issue