chore(nvim): perf tweaks

This commit is contained in:
Rob Watson 2024-06-26 20:50:55 +02:00
parent a7d7ee0e0f
commit b2023a404b
2 changed files with 4 additions and 6 deletions

5
nvimrc
View File

@ -30,6 +30,9 @@ command! -nargs=0 -bar Helptags
\| endfor
\| helptags ALL
" https://stackoverflow.com/questions/34675677/disable-highlight-matched-parentheses-in-vim-let-loaded-matchparen-1-not-w
let g:loaded_matchparen=1
set shiftwidth=2
set shiftround
set tabstop=2
@ -44,7 +47,7 @@ set smartindent
set copyindent
set autoindent
set hlsearch
set showmatch
set noshowmatch
set wildmenu
set wildmode=list:full,full
set number

View File

@ -92,11 +92,6 @@ require("lualine").setup({
lualine_x = {
{
function()
local go_status_line = vim.api.nvim_call_function("go#statusline#Show", {})
if go_status_line ~= "" then
return go_status_line
end
return vim.bo.filetype
end,
padding = { left = 1, right = 0 },