mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-24 04:18:03 +00:00
kotlin: massive speedup in loadtimes for lsp
This commit is contained in:
parent
c90f6659cb
commit
52433a93c2
1 changed files with 2 additions and 3 deletions
|
@ -8,8 +8,7 @@
|
||||||
inherit (lib.modules) mkIf mkMerge;
|
inherit (lib.modules) mkIf mkMerge;
|
||||||
inherit (lib.meta) getExe;
|
inherit (lib.meta) getExe;
|
||||||
inherit (lib.nvim.languages) diagnosticsToLua;
|
inherit (lib.nvim.languages) diagnosticsToLua;
|
||||||
inherit (lib.types) package enum;
|
inherit (lib.types) package;
|
||||||
inherit (lib.attrsets) attrNames;
|
|
||||||
inherit (lib.nvim.types) mkGrammarOption diagnostics;
|
inherit (lib.nvim.types) mkGrammarOption diagnostics;
|
||||||
inherit (lib.lists) isList;
|
inherit (lib.lists) isList;
|
||||||
inherit (lib.nvim.lua) expToLua;
|
inherit (lib.nvim.lua) expToLua;
|
||||||
|
@ -98,7 +97,7 @@ in {
|
||||||
on_attach=default_on_attach,
|
on_attach=default_on_attach,
|
||||||
init_options = {
|
init_options = {
|
||||||
-- speeds up the startup time for the LSP
|
-- speeds up the startup time for the LSP
|
||||||
storagePath = "vim.fn.stdpath('state') .. '/kotlin'",
|
storagePath = vim.fn.stdpath('state') .. '/kotlin',
|
||||||
},
|
},
|
||||||
cmd = ${
|
cmd = ${
|
||||||
if isList cfg.lsp.package
|
if isList cfg.lsp.package
|
||||||
|
|
Loading…
Add table
Reference in a new issue