Add Neovim config

Signed-off-by: Paul W. <lambdapaul@protonmail.com>
This commit is contained in:
2023-10-30 23:21:13 -04:00
parent 43792fd00e
commit 48ca7757c8
7 changed files with 948 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
require 'nvim-treesitter.configs'
.setup {
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "javascript", "typescript", "zig", "python", "rust" },
sync_install = false,
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
}
require 'treesitter-context'
.setup {
enable = true,
max_lines = 0,
line_numbers = true,
min_window_height = 0,
multiline_threshold = 20,
trim_scope = 'outer',
mode = 'topline',
}