diff --git a/common/home/neovim/default.nix b/common/home/neovim/default.nix index ba21a8a..a40e5f1 100644 --- a/common/home/neovim/default.nix +++ b/common/home/neovim/default.nix @@ -15,7 +15,6 @@ in { home = optionalAttrs neovimIde { packages = with pkgs; [ gradle - gradle-completion # FIXME: not working maven alejandra ]; diff --git a/common/home/neovim/plugins/treesitter.vim b/common/home/neovim/plugins/treesitter.vim index fca0748..fbabedb 100644 --- a/common/home/neovim/plugins/treesitter.vim +++ b/common/home/neovim/plugins/treesitter.vim @@ -11,6 +11,10 @@ require('treesitter-context').setup({ min_window_height = 20, }) +vim.filetype.add({ + pattern = { [".*/hypr/.*%.conf"] = "hyprlang" }, +}) + EOF " Add line under context