more treesitter conf adjustments for nvim-in-container workflow

This commit is contained in:
Maciej Lebiest 2024-01-13 21:09:21 +01:00
parent 18d319ad46
commit 9dc0b5db5a
2 changed files with 6 additions and 6 deletions

View file

@ -62,16 +62,16 @@ RUN dnf install -y \
RUN rm /root/.config/nvim/lazy-lock.json || true RUN rm /root/.config/nvim/lazy-lock.json || true
# install lsp and linters using mason # install lsp and linters using mason
RUN nvim --headless +TSUpdateSync \ RUN nvim --headless +TSInstall all \
+"MasonInstall ${MASON_PKGS}" \ +"MasonInstall ${MASON_PKGS}" \
+qa ; \ +qa ; \
nvim --headless +TSUpdateSync \ nvim --headless +TSInstall all \
+qa; \ +qa; \
nvim --headless +TSUpdateSync \ nvim --headless +TSInstall all \
+qa; \ +qa; \
nvim --headless +TSUpdateSync \ nvim --headless +TSInstall all \
+qa; \ +qa; \
nvim --headless +TSUpdateSync \ nvim --headless +TSInstall all \
+qa; \ +qa; \
chown -R root:root /root/.local/share/nvim/mason/packages/sqlls/node_modules/sql-language-server/ chown -R root:root /root/.local/share/nvim/mason/packages/sqlls/node_modules/sql-language-server/

View file

@ -1,7 +1,7 @@
return function() return function()
require 'nvim-treesitter.configs'.setup { require 'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all" -- A list of parser names, or "all"
ensure_installed = "all", ensure_installed = "",
-- Install parsers synchronously (only applied to `ensure_installed`) -- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = true, sync_install = true,