27 lines
624 B
Lua
27 lines
624 B
Lua
vim.opt.number = true
|
|
vim.opt.relativenumber = true
|
|
vim.opt.ignorecase = true
|
|
vim.opt.tabstop = 2
|
|
vim.opt.shiftwidth = 2
|
|
vim.opt.expandtab = true
|
|
|
|
require'nvim-treesitter.configs'.setup {
|
|
ensure_installed = { "c", "lua", "kotlin", "javascript", "typescript" },
|
|
highlight = {
|
|
enable = true,
|
|
additional_vim_regex_highlighting = false,
|
|
},
|
|
}
|
|
|
|
return require('packer').startup(function(use)
|
|
use 'wbthomason/packer.nvim'
|
|
use {
|
|
'nvim-treesitter/nvim-treesitter',
|
|
run = function()
|
|
local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
|
|
ts_update()
|
|
end,
|
|
}
|
|
end)
|
|
|