diff options
author | Joe <rbo@gmx.us> | 2023-12-28 11:18:49 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-28 11:18:49 +0100 |
commit | ab93bc0398c230d566dd685c9c01a58879aefc17 (patch) | |
tree | e69a8588f83bfef80150a7b841c8f90478eb6ce9 /.config/nvim | |
parent | up (diff) | |
download | dotfiles-bsd-ab93bc0398c230d566dd685c9c01a58879aefc17.tar.gz dotfiles-bsd-ab93bc0398c230d566dd685c9c01a58879aefc17.tar.bz2 dotfiles-bsd-ab93bc0398c230d566dd685c9c01a58879aefc17.tar.xz dotfiles-bsd-ab93bc0398c230d566dd685c9c01a58879aefc17.tar.zst dotfiles-bsd-ab93bc0398c230d566dd685c9c01a58879aefc17.zip |
up
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/after/plugin/treesitter.lua | 8 | ||||
-rw-r--r-- | .config/nvim/lua/settings.lua | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/.config/nvim/after/plugin/treesitter.lua b/.config/nvim/after/plugin/treesitter.lua index 7865930..bbe666f 100644 --- a/.config/nvim/after/plugin/treesitter.lua +++ b/.config/nvim/after/plugin/treesitter.lua @@ -1,6 +1,6 @@ require'nvim-treesitter.configs'.setup { -- A list of parser names, or "all" (the five listed parsers should always be installed) - ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "query", "go", "rust" }, + ensure_installed = { 'c', 'cpp', 'lua', 'vim', 'vimdoc', 'query', 'go', 'rust', 'yaml' }, -- Install parsers synchronously (only applied to `ensure_installed`) sync_install = false, @@ -18,4 +18,10 @@ require'nvim-treesitter.configs'.setup { -- Instead of true it can also be a list of languages additional_vim_regex_highlighting = false, }, + incremental_selection = { + enable = true, + }, + indent = { + enable = true, + }, } diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua index a7374ca..2079677 100644 --- a/.config/nvim/lua/settings.lua +++ b/.config/nvim/lua/settings.lua @@ -13,7 +13,8 @@ set shortmess+=c vim.opt.completeopt = 'menuone,noinsert,noselect,preview' vim.opt.cursorline = true vim.opt.encoding = 'utf-8' -vim.opt.go = 'a' +-- vim.opt.go = 'a' +vim.opt.termguicolors = false vim.opt.hidden = true vim.opt.makeprg = 'make' vim.opt.mouse = 'a' |