fix neovim config
This commit is contained in:
parent
281e9a06ee
commit
0091f8389e
@ -10,6 +10,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
|
||||||
@ -23,28 +24,29 @@
|
|||||||
vim-gitgutter # See uncommitted changes of file :GitGutterEnable
|
vim-gitgutter # See uncommitted changes of file :GitGutterEnable
|
||||||
|
|
||||||
# File Tree
|
# File Tree
|
||||||
nerdtree # File Manager - set in extraConfig to F6
|
nerdtree # File Manager - set in extraConfig to F6
|
||||||
|
|
||||||
# Customization
|
# Customization
|
||||||
wombat256-vim # Color scheme for lightline
|
wombat256-vim # Color scheme for lightline
|
||||||
srcery-vim # Color scheme for text
|
srcery-vim # Color scheme for text
|
||||||
|
|
||||||
lightline-vim # Info bar at bottom
|
lightline-vim # Info bar at bottom
|
||||||
indent-blankline-nvim # Indentation lines
|
indent-blankline-nvim # Indentation lines
|
||||||
];
|
];
|
||||||
|
|
||||||
extraConfig = ''
|
configure = {
|
||||||
syntax enable " Syntax highlighting
|
customRC = ''
|
||||||
colorscheme srcery " Color scheme text
|
syntax enable " Syntax highlighting
|
||||||
let g:lightline = {
|
colorscheme srcery " Color scheme text
|
||||||
\ 'colorscheme': 'wombat',
|
let g:lightline = {
|
||||||
\ } " Color scheme lightline
|
\ 'colorscheme': 'wombat',
|
||||||
highlight Comment cterm=italic gui=italic " Comments become italic
|
\ } " Color scheme lightline
|
||||||
hi Normal guibg=NONE ctermbg=NONE " Remove background, better for personal theme
|
highlight Comment cterm=italic gui=italic " Comments become italic
|
||||||
|
hi Normal guibg=NONE ctermbg=NONE " Remove background, better for personal theme
|
||||||
set number " Set numbers
|
|
||||||
nmap <F6> :NERDTreeToggle<CR> " F6 opens NERDTree
|
set number " Set numbers
|
||||||
'';
|
nmap <F6> :NERDTreeToggle<CR> " F6 opens NERDTree
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user