neovim/runtime/lua/vim
Gregory Anders 87a68b6a3a refactor: use nvim_{get,set}_option_value for vim.{b,w}o
`nvim_get_option_value` and `nvim_set_option_value` better handle
unsetting local options. For instance, this is currently not possible:

    vim.bo.tagfunc = nil

This does not work because 'tagfunc' is marked as "local to buffer" and
does not have a fallback global option. However, using :setlocal *does*
work as expected

    :setlocal tagfunc=

`nvim_set_option_value` behaves more like :set and :setlocal (by
design), so using these as the underlying API functions beneath vim.bo
and vim.wo makes those two tables act more like :setlocal. Note that
vim.o *already* uses `nvim_set_option_value` under the hood, so that
vim.o behaves like :set.
2022-06-20 09:16:21 -06:00
..
filetype feat(filetype): remove side effects from vim.filetype.match (#18894) 2022-06-09 13:12:36 -06:00
lsp docs: fix typos (#18866) 2022-06-15 08:49:54 +08:00
treesitter fix(treesitter): new iter if folded 2022-06-16 17:38:10 +02:00
_editor.lua fix(lua): highlight.on_yank can close timer in twice #18976 2022-06-15 19:39:55 -07:00
_init_packages.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00
_meta.lua refactor: use nvim_{get,set}_option_value for vim.{b,w}o 2022-06-20 09:16:21 -06:00
compat.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00
diagnostic.lua fix(diagnostic): check for negative column value (#18868) 2022-06-08 12:55:39 -06:00
F.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00
filetype.lua feat(filetype): remove side effects from vim.filetype.match (#18894) 2022-06-09 13:12:36 -06:00
fs.lua feat(lsp): add a start function (#18631) 2022-06-03 14:59:19 +02:00
health.lua fix(checkhealth): skip vim.health #18816 2022-06-01 07:10:10 -07:00
highlight.lua fix(lua): stop pending highlight.on_yank timer, if any (#18824) 2022-06-02 09:49:57 +02:00
inspect.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00
keymap.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00
lsp.lua docs: fix typos (#18269) 2022-06-04 11:56:36 +08:00
shared.lua docs(api): improve shared lua functions docs (#17933) 2022-05-11 10:23:46 -06:00
treesitter.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00
ui.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00
uri.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00