From b2023a404badff0fed469bf7313d8cd363d94218 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Wed, 26 Jun 2024 20:50:55 +0200 Subject: [PATCH] chore(nvim): perf tweaks --- nvimrc | 5 ++++- vim/lua/lightline_config.lua | 5 ----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/nvimrc b/nvimrc index d7f6770..eba1454 100644 --- a/nvimrc +++ b/nvimrc @@ -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 diff --git a/vim/lua/lightline_config.lua b/vim/lua/lightline_config.lua index 5bcb49f..06c62f3 100644 --- a/vim/lua/lightline_config.lua +++ b/vim/lua/lightline_config.lua @@ -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 },