Skip to content

Commit

Permalink
feat: update according to latest nixvim
Browse files Browse the repository at this point in the history
  • Loading branch information
solidsnakedev committed Dec 9, 2024
1 parent 0d4e3ec commit 8df869f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
5 changes: 5 additions & 0 deletions home-manager/mac/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@

};

programs.zoxide = {
enable = true;
enableFishIntegration = true;
};

programs.fish = {
enable = true;

Expand Down
20 changes: 14 additions & 6 deletions modules/nixvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
vimAlias = true;
colorschemes.catppuccin.enable = true;
plugins = {
web-devicons.enable = true;
# ui
lualine.enable = true;
tmux-navigator.enable = true;
Expand All @@ -22,29 +23,36 @@
hop.enable = true;
nvim-tree.enable = true;
todo-comments.enable = true;
surround.enable = true;
vim-surround.enable = true;
lastplace.enable = true;
bufdelete.enable = true;

# lsp
# rust-tools.enable = true;
typescript-tools = {
enable = true;
settings.exposeAsCodeAction = "all";
settings.settings.exposeAsCodeAction = "all";
};
lsp = {
enable = true;
servers = {
nil-ls = {
nil_ls = {
enable = true; # Enable nil_ls. You can use nixd or anything you want from the docs.
settings.formatting.command = [ "nixpkgs-fmt" ];
};
lua-ls = {
lua_ls = {
enable = true;
settings.diagnostics.globals = [ "vim" ];
};
rust-analyzer.enable = true;
hls.enable = true;
rust_analyzer = {
enable = true;
installCargo = false;
installRustc = false;
};
hls = {
enable = true;
installGhc = false;
};
};
};
lspsaga = {
Expand Down

0 comments on commit 8df869f

Please sign in to comment.