Skip to content

Commit

Permalink
patch: treesitter highlighting, lsp inlay hints and update flake (#20)
Browse files Browse the repository at this point in the history
Small update to enable Treesitter highlighting by default, enable LSP
inlay hints and update flake inputs to the latest version
  • Loading branch information
dc-tec authored Aug 3, 2024
1 parent 48bbb79 commit 92c42db
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 36 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This repository contains my personal configuration NixVim, a Neovim configuratio
- `cmp.nix`: Configures the cmp completion framework.
- `cmp-copilot.nix`: Adds GitHub Copilot support to cmp.
- `lspkind.nix`: Adds icons to lsp completion items.
- `autopairs.nix`: Adds the autopairs plugin.

## Snippets

Expand Down
1 change: 1 addition & 0 deletions config/plugins/editor/treesitter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
enable = true;
settings = {
indent.enable = true;
highlight.enable = true;
};
folding = false;
nixvimInjections = true;
Expand Down
1 change: 1 addition & 0 deletions config/plugins/lsp/lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
helm = {enable = true;};
lsp = {
enable = true;
inlayHints = true;
servers = {
html = {enable = true;};
lua-ls = {enable = true;};
Expand Down
67 changes: 31 additions & 36 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 92c42db

Please sign in to comment.