cleanup vim config around formatting
This commit is contained in:
parent
40cc63c50d
commit
bb2ced8b81
5 changed files with 10 additions and 11 deletions
3
.vimrc
3
.vimrc
|
@ -1,4 +1,5 @@
|
||||||
source ~/dev/dotfiles/.vimrc.plugins
|
|
||||||
source ~/dev/dotfiles/.vimrc.plugins-settings
|
source ~/dev/dotfiles/.vimrc.plugins-settings
|
||||||
|
source ~/dev/dotfiles/.vimrc.filetypes
|
||||||
source ~/dev/dotfiles/.vimrc.settings
|
source ~/dev/dotfiles/.vimrc.settings
|
||||||
source ~/dev/dotfiles/.vimrc.keymap
|
source ~/dev/dotfiles/.vimrc.keymap
|
||||||
|
|
||||||
|
|
2
.vimrc.filetypes
Normal file
2
.vimrc.filetypes
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
autocmd FileType yaml let b:autoformat_autoindent=0
|
||||||
|
let g:run_all_formatters_yaml = 0
|
|
@ -1,3 +0,0 @@
|
||||||
source ~/dev/dotfiles/.vimrc.plugins-settings
|
|
||||||
source ~/dev/dotfiles/.vimrc.settings
|
|
||||||
source ~/dev/dotfiles/.vimrc.keymap
|
|
|
@ -4,6 +4,7 @@ let g:airline_powerline_fonts = 1
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
|
||||||
au BufWrite * :Autoformat
|
au BufWrite * :Autoformat
|
||||||
|
" let g:autoformat_verbosemode=1
|
||||||
|
|
||||||
" searching
|
" searching
|
||||||
let $FZF_DEFAULT_COMMAND = 'rga --files --no-messages "" .'
|
let $FZF_DEFAULT_COMMAND = 'rga --files --no-messages "" .'
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, inputs, ... }: {
|
||||||
{
|
home.file.".vimrc".source = ../../../.vimrc;
|
||||||
home.file.".vimrc".source = ../../../.vimrc.nixos;
|
home.packages = with pkgs; [ ripgrep ];
|
||||||
home.packages = with pkgs; [
|
|
||||||
ripgrep
|
|
||||||
];
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
|
@ -18,6 +15,7 @@
|
||||||
coc-highlight
|
coc-highlight
|
||||||
coc-nvim
|
coc-nvim
|
||||||
coc-rust-analyzer
|
coc-rust-analyzer
|
||||||
|
coc-yaml
|
||||||
ctrlp-vim
|
ctrlp-vim
|
||||||
editorconfig-vim
|
editorconfig-vim
|
||||||
fzf-vim
|
fzf-vim
|
||||||
|
|
Loading…
Reference in a new issue