From 8362c34b84c1e936ee8602eaf9d13095df35d803 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 30 Nov 2021 15:22:40 +0300 Subject: vim: vista function signature thingy --- .config/nvim/after/plugin/autocmds.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/nvim/after/plugin/autocmds.vim b/.config/nvim/after/plugin/autocmds.vim index 05b7ce9..c953a24 100644 --- a/.config/nvim/after/plugin/autocmds.vim +++ b/.config/nvim/after/plugin/autocmds.vim @@ -12,3 +12,6 @@ autocmd BufReadPost * \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit' \ | exe "normal! g`\"" \ | endif + +" Currently for one c snippet, but can embed into lualine +autocmd VimEnter * call vista#RunForNearestMethodOrFunction() -- cgit v1.2.3-70-g09d2