diff --git a/flake.nix b/flake.nix index f1e73e9..bdffcf8 100644 --- a/flake.nix +++ b/flake.nix @@ -232,7 +232,6 @@ recommendedNeovim = (minimalNeovim.override { enableDevIcons = true; enableTabby = true; - grammarFileTypes = [ "nix" "lua" ]; plugins = with minimalNeovim.nix2lua; { nvimTree.settings = { @@ -259,21 +258,6 @@ }); fullNeovim = recommendedNeovim.override { - grammarFileTypes = [ - "nix" - "lua" - "bash" - "yaml" - "json" - "rust" - "haskell" - "typescript" - "javascript" - "python" - "sql" - "html" - "pug" - ]; plugins = recommendedNeovim.plugins // (with minimalNeovim.nix2lua; { lspSaga.settings = { border_style = "rounded"; diff --git a/plugins/syntax/default.nix b/plugins/syntax/default.nix index 9ade5a1..a220827 100644 --- a/plugins/syntax/default.nix +++ b/plugins/syntax/default.nix @@ -1,6 +1,5 @@ { lib , nvim-treesitter -, grammarFileTypes , ... }: @@ -8,9 +7,7 @@ let inherit (builtins) readFile; - nvimTreesitterWithGrammars = nvim-treesitter.withPlugins - (plugins: map (ft: plugins.${ft}) grammarFileTypes); - + nvimTreesitterWithGrammars = nvim-treesitter.withAllGrammars; in { luaConfig = readFile ./treesitter.lua;