dotfiles/nvim/lua/init.lua

33 lines
1.1 KiB
Lua

--vim.cmd('colorscheme default')
--require('plugins.gruvbox')
--require('plugins.feline')
require('gitsigns').setup({numhl = true})
--require('plugins.matlab_ls')
require('plugins.lua_ls')
require('plugins.treesitter')
--require('battery').setup({
-- show_status_when_no_battery = false,
-- show_percent = true
--})
--require('plugins.noice')
require('plugins.statuscol')
vim.diagnostic.config({
virtual_lines = { current_line = true, },
underline = true,
signs = {
text = {
[vim.diagnostic.severity.ERROR] = '',
[vim.diagnostic.severity.WARN] = '',
[vim.diagnostic.severity.INFO] = '',
[vim.diagnostic.severity.HINT] = ''
}
}
})
--vim.api.nvim_set_hl(0,"DiagnosticUnderlineWarn",{undercurl=true,sp='DiagnosticWarn'})
--For Alacritty:
-- vim.api.nvim_create_autocmd("ExitPre", {
-- group = vim.api.nvim_create_augroup("Exit", { clear = true }),
-- command = "set guicursor=a:ver90-blinkwait250-blinkoff250-blinkon250",
-- desc = "Set cursor back to beam when leaving Neovim."
-- })