Skip to content

Commit

Permalink
feat(programs/neovim): lsps, misc
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Nov 4, 2024
1 parent 1099022 commit b2c0f00
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions users/uncenter/programs/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ in
tabstop = 4;
nu = true;
relativenumber = false;
signcolumn = "yes";
};

colorschemes.catppuccin = {
Expand All @@ -31,6 +32,7 @@ in
plugins = {
lualine.enable = true;
nvim-autopairs.enable = true;
ts-autotag.enable = true;

cmp.enable = true;
cmp-path.enable = true;
Expand All @@ -55,6 +57,38 @@ in
];
};

lsp = {
enable = true;
servers = {
ts_ls.enable = true; # TS/JS
cssls.enable = true; # CSS
superhtml = {
enable = true;
package = pkgs.superhtml;
};
eslint.enable = true; # Web
tailwindcss.enable = true; # TailwindCSS
html.enable = true; # HTML
astro.enable = true; # AstroJS
svelte.enable = false; # Svelte
vuels.enable = false; # Vue
marksman.enable = true; # Markdown
nil_ls.enable = true; # Nix
bashls.enable = true; # Bash
clangd.enable = true; # C/C++
csharp_ls.enable = true; # C#
yamlls.enable = true; # YAML
gleam.enable = true;
ruff.enable = true;
statix.enable = true;
gopls = {
# Golang
enable = true;
autostart = true;
};
};
};

rustaceanvim = {
enable = true;
settings.server.default_settings.rust-analyzer = {
Expand Down

0 comments on commit b2c0f00

Please sign in to comment.