This commit is contained in:
asep komarudin 2023-01-15 00:57:57 +07:00
parent 1a1483a2d2
commit f1e6c8c266
5 changed files with 85 additions and 20 deletions

View file

@ -55,7 +55,16 @@ return {
end,
},
-- include treesitter
require("plugins.treesitter"),
-- require("plugins.treesitter"),
{
"nvim-treesitter/nvim-treesitter",
commit = "8e763332b7bf7b3a426fd8707b7f5aa85823a5ac",
run = ":TSUpdate",
event = "BufWinEnter",
opts = function()
require("user.treesitter")
end,
},
{
"kyazdani42/nvim-web-devicons",
commit = "563f3635c2d8a7be7933b9e547f7c178ba0d4352",
@ -159,7 +168,7 @@ return {
{ "mg979/vim-visual-multi", event = "BufWinEnter" },
{
"windwp/nvim-ts-autotag",
dependencies = "nvim-treesitter",
dependencies = "nvim-treesitter/nvim-treesitter",
init = function()
require("nvim-ts-autotag").setup()
end,

View file

@ -1,8 +1,8 @@
return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
event = "BufReadPost",
-- build = ":TSUpdate",
-- event = "BufReadPost",
---@type TSConfig
opts = {
sync_install = false,
@ -36,19 +36,19 @@ return {
ensure_installed = {
"bash",
"html",
"c",
"javascript",
"json",
"lua",
"python",
"typescript",
"tsx",
"css",
"rust",
"java",
"yaml",
"markdown",
"markdown_inline",
-- "c",
-- "javascript",
-- "json",
-- "lua",
-- "python",
-- "typescript",
-- "tsx",
-- "css",
-- "rust",
-- "java",
-- "yaml",
-- "markdown",
-- "markdown_inline",
},
},
---@param opts TSConfig