summaryrefslogtreecommitdiff
path: root/lua/tjk/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/tjk/plugins')
-rw-r--r--lua/tjk/plugins/lsp.lua3
-rw-r--r--lua/tjk/plugins/treesitter.lua3
2 files changed, 5 insertions, 1 deletions
diff --git a/lua/tjk/plugins/lsp.lua b/lua/tjk/plugins/lsp.lua
index 4caf7c0..1c2eeb7 100644
--- a/lua/tjk/plugins/lsp.lua
+++ b/lua/tjk/plugins/lsp.lua
@@ -5,10 +5,13 @@ return {
"cssls",
"eslint",
"html",
+ "jinja_lsp",
"jsonls",
"pylsp",
+ "somesass_ls",
"svelte",
"tailwindcss",
+ "ts_ls"
})
end
}
diff --git a/lua/tjk/plugins/treesitter.lua b/lua/tjk/plugins/treesitter.lua
index 54a042f..a73d6e7 100644
--- a/lua/tjk/plugins/treesitter.lua
+++ b/lua/tjk/plugins/treesitter.lua
@@ -6,6 +6,7 @@ return {
-- "nvim-treesitter/playground", -- inspect treesitter structure
-- cmd = "TSPlaygroundToggle"
--},
+ "geigerzaehler/tree-sitter-jinja2", -- adds filetype for htmljinja, not recognized by ts by default. Requires gcc in path
"HiPhish/rainbow-delimiters.nvim", -- colored delimiters per scope level
{
"windwp/nvim-ts-autotag", -- close tags in html/xml type languages
@@ -20,7 +21,7 @@ return {
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "comment",
- "javascript", "html", "css", "scss", "python", "php" },
+ "javascript", "jinja2", "html", "css", "scss", "python", "php" },
auto_install = true, -- install available parsers when entering new buffers
highlight = { enable = true, disable = { "yaml", "dockerfile" } },
indent = { enable = true, disable = { "yaml" } },