Update treesitter
This commit is contained in:
@@ -2,11 +2,13 @@ return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
local config = require("nvim-treesitter.configs")
|
||||
config.setup({
|
||||
ensure_installed = { "lua", "go", "zig", "markdown", "json", "yaml", "javascript", "typescript", "bash", "python", "c_sharp", "cpp", "gleam" },
|
||||
highlight = { enable = true },
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = { "lua", "go", "zig", "markdown", "json", "yaml", "javascript",
|
||||
"typescript", "bash", "python", "c_sharp", "cpp", "gleam", "svelte" },
|
||||
indent = { enable = true },
|
||||
sync_install = false,
|
||||
|
||||
highlight = { enable = true },
|
||||
})
|
||||
|
||||
local treesitter_parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
||||
|
||||
@@ -3,7 +3,6 @@ vim.cmd("set tabstop=2")
|
||||
vim.cmd("set softtabstop=2")
|
||||
vim.cmd("set shiftwidth=2")
|
||||
vim.cmd("set expandtab")
|
||||
vim.cmd("set number")
|
||||
vim.cmd("set clipboard+=unnamedplus")
|
||||
vim.cmd("highlight Normal guibg=none")
|
||||
vim.cmd("highlight NonText guibg=none")
|
||||
|
||||
Reference in New Issue
Block a user