Updated install.bat
tried to mess with treesitter
This commit is contained in:
1
install.bat
Normal file
1
install.bat
Normal file
@@ -0,0 +1 @@
|
|||||||
|
mklink /J %LOCALAPPDATA%\nvim .\nvim
|
||||||
@@ -2,10 +2,16 @@ return {
|
|||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
config = function()
|
config = function()
|
||||||
|
local install = require("nvim-treesitter.install")
|
||||||
local configs = require("nvim-treesitter.configs")
|
local configs = require("nvim-treesitter.configs")
|
||||||
|
|
||||||
|
install = {
|
||||||
|
compilers = { clang },
|
||||||
|
prefer_git = false,
|
||||||
|
}
|
||||||
|
|
||||||
configs.setup({
|
configs.setup({
|
||||||
ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "cmake" },
|
ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "cmake", "query" },
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
vim.cmd("syntax on")
|
|
||||||
vim.cmd("set expandtab")
|
vim.cmd("set expandtab")
|
||||||
vim.cmd("set tabstop=4")
|
vim.cmd("set tabstop=4")
|
||||||
vim.cmd("set softtabstop=4")
|
vim.cmd("set softtabstop=4")
|
||||||
|
|||||||
Reference in New Issue
Block a user