user/neovim: add autoclose-nvim and update lualine config
This commit is contained in:
parent
d9df212560
commit
b06bb7009c
2 changed files with 13 additions and 4 deletions
|
|
@ -30,10 +30,12 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
autoclose-nvim
|
||||||
flutter-tools-nvim
|
flutter-tools-nvim
|
||||||
fzf-vim
|
fzf-vim
|
||||||
fzf-lsp-nvim
|
fzf-lsp-nvim
|
||||||
lualine-nvim
|
lualine-nvim
|
||||||
|
nvim-web-devicons
|
||||||
plenary-nvim
|
plenary-nvim
|
||||||
tokyonight-nvim
|
tokyonight-nvim
|
||||||
vim-fugitive
|
vim-fugitive
|
||||||
|
|
|
||||||
|
|
@ -65,13 +65,23 @@ vim.cmd("highlight SignifySignChangeDelete guifg="..colors.red)
|
||||||
vim.cmd("au FileType rust highlight DiagnosticUnderlineHint ctermfg=14 gui=italic guifg="..colors.overlay2)
|
vim.cmd("au FileType rust highlight DiagnosticUnderlineHint ctermfg=14 gui=italic guifg="..colors.overlay2)
|
||||||
|
|
||||||
-- Plugins
|
-- Plugins
|
||||||
|
require('autoclose').setup {}
|
||||||
|
require('nvim-highlight-colors').setup {}
|
||||||
require('nvim-treesitter.configs').setup {
|
require('nvim-treesitter.configs').setup {
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = false }
|
indent = { enable = false }
|
||||||
}
|
}
|
||||||
require('lualine').setup {
|
require('lualine').setup {
|
||||||
options = {
|
options = {
|
||||||
theme = 'tokyonight'
|
theme = 'catppuccin'
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_c = {
|
||||||
|
{
|
||||||
|
"filename",
|
||||||
|
path = 1,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -95,9 +105,6 @@ end
|
||||||
|
|
||||||
vim.cmd('au FileType javascript setlocal indentexpr=v:lua.javascript_indent()')
|
vim.cmd('au FileType javascript setlocal indentexpr=v:lua.javascript_indent()')
|
||||||
|
|
||||||
-- nvim-highlight-colors
|
|
||||||
require('nvim-highlight-colors').setup {}
|
|
||||||
|
|
||||||
-- LSP
|
-- LSP
|
||||||
local nvim_lsp = require('lspconfig')
|
local nvim_lsp = require('lspconfig')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue