mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 07:25:30 +00:00
Fixed texlab needing to be installed globally to be able to use the lsp
This commit is contained in:
parent
38977641b5
commit
5883c09366
1 changed files with 2 additions and 2 deletions
|
|
@ -280,12 +280,12 @@ in
|
|||
stringToLua =
|
||||
string: nullOnEmpty: if string == "" then if nullOnEmpty then "null" else "" else ''"${string}"'';
|
||||
|
||||
boolToLua =
|
||||
boolean: if boolean then "true" else "false";
|
||||
boolToLua = boolean: if boolean then "true" else "false";
|
||||
in
|
||||
(mkIf tl.enable {
|
||||
vim.lsp.lspconfig.sources.texlab = ''
|
||||
lspconfig.texlab.setup {
|
||||
cmd = { "${tl.package}/bin/texlab" },
|
||||
settings = {
|
||||
texlab = {
|
||||
build = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue