mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 23:45:31 +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 =
|
stringToLua =
|
||||||
string: nullOnEmpty: if string == "" then if nullOnEmpty then "null" else "" else ''"${string}"'';
|
string: nullOnEmpty: if string == "" then if nullOnEmpty then "null" else "" else ''"${string}"'';
|
||||||
|
|
||||||
boolToLua =
|
boolToLua = boolean: if boolean then "true" else "false";
|
||||||
boolean: if boolean then "true" else "false";
|
|
||||||
in
|
in
|
||||||
(mkIf tl.enable {
|
(mkIf tl.enable {
|
||||||
vim.lsp.lspconfig.sources.texlab = ''
|
vim.lsp.lspconfig.sources.texlab = ''
|
||||||
lspconfig.texlab.setup {
|
lspconfig.texlab.setup {
|
||||||
|
cmd = { "${tl.package}/bin/texlab" },
|
||||||
settings = {
|
settings = {
|
||||||
texlab = {
|
texlab = {
|
||||||
build = {
|
build = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue