feat: add ai and tex support
This commit is contained in:
parent
4439691030
commit
9240bb4db9
7 changed files with 35 additions and 4 deletions
|
@ -5,5 +5,6 @@
|
|||
./lsp-format.nix
|
||||
./lspkind.nix
|
||||
./nvim-metals.nix
|
||||
./vimtex.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
useGlobalExecutable = true,
|
||||
verboseCompilation = true
|
||||
}
|
||||
metals_config.capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||
'';
|
||||
|
||||
autoCmd = [
|
||||
|
@ -40,7 +39,10 @@
|
|||
require("metals").initialize_or_attach(metals_config)
|
||||
end
|
||||
'';
|
||||
pattern = [ "scala" "sbt" ];
|
||||
pattern = [
|
||||
"scala"
|
||||
"sbt"
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
|
|
10
config/lsp/vimtex.nix
Normal file
10
config/lsp/vimtex.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
plugins.vimtex = {
|
||||
enable = true;
|
||||
settings = {
|
||||
view_method = "zathura";
|
||||
};
|
||||
texlivePackage = pkgs.texlive.combined.scheme-full;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue