aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp.lua
diff options
context:
space:
mode:
authorPhạm Bình An <111893501+brianhuster@users.noreply.github.com>2025-03-15 23:44:53 +0700
committerGitHub <noreply@github.com>2025-03-15 09:44:53 -0700
commitf5714994bc4fc578b5f07bca403e7067e6d9b5a0 (patch)
tree9dae28d3e05330e782366e6d9cd7944544557f4c /runtime/lua/vim/lsp.lua
parentafdad5c76ec5a5ad1c3e3d21d168ed3d9349ba8c (diff)
downloadrneovim-f5714994bc4fc578b5f07bca403e7067e6d9b5a0.tar.gz
rneovim-f5714994bc4fc578b5f07bca403e7067e6d9b5a0.tar.bz2
rneovim-f5714994bc4fc578b5f07bca403e7067e6d9b5a0.zip
feat(runtime): Lua ftplugin sets 'omnifunc', 'foldexpr' #32697
Problem: - Many other ftplugin have defined 'omnifunc', but the Lua one doesn't define one, even though there is `vim.lua_omnifunc()` - Users may want "stupid" completion to fix Lua config with `nvim --clean` in case they breaks it - Nvim doesn't port Lua foldexpr from Vim Solution: - Set 'omnifunc' to 'v:lua.vim.lua_omnifunc' in ftplugin/lua.lua - Set 'foldexpr' to use treesitter
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
0 files changed, 0 insertions, 0 deletions