mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
refactor(lua): consistent use of local aliases
This commit is contained in:

committed by
Christian Clason

parent
a33284c2c0
commit
c10e36fc01
@@ -249,7 +249,7 @@ function State:new(bufnr)
|
||||
group = self.augroup,
|
||||
pattern = 'foldexpr',
|
||||
callback = function()
|
||||
if vim.v.option_type == 'global' or vim.api.nvim_get_current_buf() == bufnr then
|
||||
if vim.v.option_type == 'global' or api.nvim_get_current_buf() == bufnr then
|
||||
vim.lsp._capability.enable('folding_range', false, { bufnr = bufnr })
|
||||
end
|
||||
end,
|
||||
|
Reference in New Issue
Block a user