chore: New nvim config, not finished

This commit is contained in:
Afonso Franco 2022-10-19 00:47:07 +01:00
parent f24ba39def
commit 88639a2280
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
14 changed files with 194 additions and 49 deletions

View file

@ -0,0 +1,23 @@
local present, treesitter = pcall(require, "nvim-treesitter.configs")
require('nvim-treesitter.install').update({ with_sync = true })
if not present then
return
end
local options = {
ensure_installed = {"lua", "haskell", "rust", },
highlight = {
enable = true,
use_languagetree = true,
},
indent = {
enable = true,
},
}
treesitter.setup(options)