Fix up nvim

This commit is contained in:
Nathan McCarty 2024-11-29 04:40:22 +00:00
parent b35efa261a
commit e2b5ff7e3e
2 changed files with 865 additions and 863 deletions

View file

@ -24,14 +24,16 @@
plugin = vim-autoformat;
config = ''
au BufWrite * :Autoformat
let g:autoformat_autoindent = 0
let g:autoformat_retab = 0
let g:autoformat_remove_trailing_spaces = 0
'';
}
vim-surround
vim-commentary
nvim-treesitter
nvim-treesitter-parsers.nu
nvim-treesitter-parsers.nix
nvim-treesitter.withAllGrammars
nvim-nu
null-ls-nvim
];
extraLuaConfig = ''
vim.o.termguicolors = true

View file

@ -241,7 +241,7 @@ $env.config = {
buffer_editor: null # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.VISUAL and $env.EDITOR
use_ansi_coloring: true
bracketed_paste: true # enable bracketed paste, currently useless on windows
edit_mode: emacs # emacs, vi
edit_mode: vi # emacs, vi
shell_integration: {
# osc2 abbreviates the path if in the home_dir, sets the tab/window title, shows the running command in the tab/window title
osc2: true