migrate my config to container form

This commit is contained in:
Maciej Lebiest 2023-02-26 18:14:08 +01:00
parent 81c6df2323
commit 95bb972fee
4 changed files with 132 additions and 47 deletions

View file

@ -1,26 +1,26 @@
return {
config = {
ensure_installed = {
"bashls",
"pyright",
"pylsp",
"ruff_lsp",
--"pyre",
"perlnavigator",
"dockerls",
"intelephense",
"eslint",
"tsserver",
"cssls",
"cssmodules_ls",
"jsonls",
"lua_ls",
"sqlls",
"yamlls",
"lemminx",
"marksman",
"html",
},
--ensure_installed = {
--"bashls",
--"pyright",
--"pylsp",
--"ruff_lsp",
----"pyre",
--"perlnavigator",
--"dockerls",
--"intelephense",
--"eslint",
--"tsserver",
--"cssls",
--"cssmodules_ls",
--"jsonls",
--"lua_ls",
--"sqlls",
--"yamlls",
--"lemminx",
--"marksman",
--"html",
--},
-- Whether servers that are set up (via lspconfig) should be automatically installed if they're not already installed.
-- This setting has no relation with the `ensure_installed` setting.
-- Can either be:

View file

@ -1,7 +1,7 @@
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,