From aa5717f00fd14430c80939a68d7107c26de6e554 Mon Sep 17 00:00:00 2001 From: Mohammad Reza Karimi Date: Tue, 20 Jan 2026 15:55:27 -0500 Subject: first commit --- after/ftplugin/lua.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 after/ftplugin/lua.vim (limited to 'after/ftplugin/lua.vim') diff --git a/after/ftplugin/lua.vim b/after/ftplugin/lua.vim new file mode 100644 index 0000000..6d9a620 --- /dev/null +++ b/after/ftplugin/lua.vim @@ -0,0 +1,9 @@ +setlocal includeexpr=substitute(v:fname,'\\.','/','g').'.lua' +setlocal comments-=:-- comments+=:---,:-- +setlocal keywordprg=:help + +inoreabbrev lo local +inoreabbrev lf local function() +inoreabbrev fu function() end + +nnoremap K lua vim.lsp.buf.hover() -- cgit v1.2.3-71-gdd5e