restore default treesitter install list, fix sessions saving

This commit is contained in:
Maciej Lebiest 2023-02-26 18:36:34 +01:00
parent 95bb972fee
commit 8e4a6745d7
3 changed files with 6 additions and 5 deletions

View file

@ -1,10 +1,10 @@
return function()
require 'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all"
--ensure_installed = { "html", "dockerfile", "cpp", "css", "markdown", "c", "gitcommit", "bash", "phpdoc", "comment", "python", "http", "php", "regex", "json5", "lua", "gitattributes", "gitignore", "json", "git_rebase", "javascript", "perl", "sql", "yaml" },
ensure_installed = { "html", "dockerfile", "cpp", "css", "markdown", "c", "gitcommit", "bash", "phpdoc", "comment", "python", "http", "php", "regex", "json5", "lua", "gitattributes", "gitignore", "json", "git_rebase", "javascript", "perl", "sql", "yaml" },
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
sync_install = true,
-- Automatically install missing parsers when entering buffer
-- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally