Skip to content

Commit

Permalink
home (nvim): Add configuration for working on Astro projects
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Dec 19, 2024
1 parent 2a26493 commit 48bcaa3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions home/terminal/nvim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ in {
log = "log";
};
files = {
"ftplugin/astro.lua" = {
opts = {
expandtab = false;
softtabstop = 4;
shiftwidth = 4;
};
};
"ftplugin/java.lua" = {
opts = {
softtabstop = 4;
Expand Down
1 change: 1 addition & 0 deletions home/terminal/nvim/lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ _: {
enable = true;
inlayHints = true;
servers = {
astro.enable = true;
gopls.enable = true;
nixd.enable = true;
ts_ls.enable = true;
Expand Down

0 comments on commit 48bcaa3

Please sign in to comment.