diff --git a/Containerfile b/Containerfile index 713012d..d3935ee 100644 --- a/Containerfile +++ b/Containerfile @@ -62,16 +62,16 @@ RUN dnf install -y \ RUN rm /root/.config/nvim/lazy-lock.json || true # install lsp and linters using mason -RUN nvim --headless +TSUpdateSync \ +RUN nvim --headless +TSInstall all \ +"MasonInstall ${MASON_PKGS}" \ +qa ; \ - nvim --headless +TSUpdateSync \ + nvim --headless +TSInstall all \ +qa; \ - nvim --headless +TSUpdateSync \ + nvim --headless +TSInstall all \ +qa; \ - nvim --headless +TSUpdateSync \ + nvim --headless +TSInstall all \ +qa; \ - nvim --headless +TSUpdateSync \ + nvim --headless +TSInstall all \ +qa; \ chown -R root:root /root/.local/share/nvim/mason/packages/sqlls/node_modules/sql-language-server/ diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index f5063f1..5c95d7c 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,7 +1,7 @@ return function() require 'nvim-treesitter.configs'.setup { -- A list of parser names, or "all" - ensure_installed = "all", + ensure_installed = "", -- Install parsers synchronously (only applied to `ensure_installed`) sync_install = true,