bunch of stuff

This commit is contained in:
cswimr 2025-04-11 21:29:46 -05:00
parent 170638d607
commit f522a597dc
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
9 changed files with 106 additions and 39 deletions

View file

@ -1,5 +1,12 @@
{
pkgs,
copilot-lsp-fix,
lib,
...
}:
{
programs.nixvim = {
extraPackages = with copilot-lsp-fix; [ copilot-language-server-fhs ];
plugins = {
cmp = {
enable = true;
@ -39,9 +46,11 @@
};
copilot-lua = {
enable = true;
nodePackage = pkgs.nodejs_22;
settings = {
suggestion.enabled = false;
panel.enabled = false;
lsp_binary = lib.getExe copilot-lsp-fix.copilot-language-server-fhs;
};
};
copilot-cmp.enable = true;

View file

@ -59,6 +59,8 @@
ts_ls.enable = true;
denols.enable = true; # JavaScript / TypeScript (Deno)
eslint.enable = true; # JavaScript / TypeScript
astro.enable = true;
svelte.enable = true;
slint_lsp.enable = true;
typos_lsp.enable = true;
};

View file

@ -42,6 +42,9 @@
enable = true;
};
};
languageRegister = {
mdx = "markdown";
};
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
bash
c
@ -61,6 +64,7 @@
regex
ruby
rust
astro
svelte
toml
typescript