diff options
| author | Robert Günzler <r@gnzler.io> | 2022-04-15 14:54:52 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-04-15 14:54:52 +0200 |
| commit | cfd78f5133b15dfb7b90d15d35d8b3739cebb12b (patch) | |
| tree | 3b507a417f904dc057e48e3d0910063186966d44 /.vim/init.lua | |
| parent | 06fbd867be412c4eff480f70c9f9902635d4d726 (diff) | |
vim: move statusline into separate file
Diffstat (limited to '.vim/init.lua')
| -rw-r--r-- | .vim/init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.vim/init.lua b/.vim/init.lua index eb0074c..9fc5bf9 100644 --- a/.vim/init.lua +++ b/.vim/init.lua @@ -61,7 +61,6 @@ opt.signcolumn = 'auto' opt.smartcase = true opt.spell = false opt.spelloptions = 'camel' -opt.statusline = '%!luaeval("statusline()")' opt.termguicolors = true opt.textwidth = 0 opt.timeoutlen = 400 @@ -299,6 +298,9 @@ function _G.statusline_lsp_diagnostics(bufnr) end -- }}} +_G.statusline_enable_notifysend = false +require('statusline') + -- source .nvimrc if it exists local local_vimrc = vim.fn.getcwd()..'/.nvimrc' if vim.loop.fs_stat(local_vimrc) then |