neovim/runtime/lua/vim
Gregory Anders 8fb7419d7c
refactor: only reload colorscheme if &bg changed (#26598)
Currently, setting &bg at all re-initializes highlights and reloads
the active colorscheme, even if the actual value of &bg has not changed.
With https://github.com/neovim/neovim/pull/26595 this causes a
regression since &bg is set unconditionally based on the value detected
from the terminal.

Instead, only reload the colorscheme if the actual value of &bg has
changed.
2023-12-16 11:18:45 -06:00
..
_meta refactor: only reload colorscheme if &bg changed (#26598) 2023-12-16 11:18:45 -06:00
filetype vim-patch:9.0.2128: runtime(swig): add syntax and filetype plugins 2023-11-26 00:41:59 +01:00
func feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00
lsp feat(lsp): more annotations 2023-12-14 12:39:18 +00:00
treesitter fix(treesitter): improve vim.treesitter.foldexpr 2023-12-12 02:29:59 +09:00
ui/clipboard fix(osc52): use p for primary selection instead of s (#26076) 2023-11-16 19:52:22 -06:00
_defaults.lua refactor(defaults): always set options, even if value hasn't changed (#26595) 2023-12-15 16:35:55 -06:00
_editor.lua feat(lsp): more annotations 2023-12-14 12:39:18 +00:00
_init_packages.lua feat: add vim.text module (#26069) 2023-11-16 11:35:54 -06:00
_inspector.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
_meta.lua feat(defaults): enable 'termguicolors' by default when supported by terminal 2023-12-06 07:57:09 -08:00
_options.lua docs: do not use deprecated functions #25334 2023-09-24 21:39:59 -07:00
_system.lua fix: windows timeouts have exit code 1 2023-09-05 17:10:04 +01:00
_watch.lua perf(lsp): use async fs_stat for file watching on linux (#26123) 2023-11-21 17:46:19 +01:00
diagnostic.lua refactor(diagnostic): use named namespaces (#26568) 2023-12-14 09:19:33 -06:00
F.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
filetype.lua vim-patch:9.0.2148: Vim does not detect pacman.log file 2023-12-05 09:45:13 +01:00
fs.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
func.lua feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00
health.lua feat(health): fold successful healthchecks #22866 2023-06-06 08:42:26 -07:00
highlight.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
inspect.lua fix(inspect): escape identifiers that are lua keywords (#19898) 2022-08-23 13:02:55 +02:00
iter.lua feat(iter): add Iter.take (#26525) 2023-12-12 14:27:24 -06:00
keymap.lua docs: fix type warnings 2023-09-23 23:46:45 +01:00
loader.lua fix(lua): improve annotations for stricter luals diagnostics (#24609) 2023-08-09 11:06:13 +02:00
lsp.lua feat(lsp): more annotations 2023-12-14 12:39:18 +00:00
re.lua build: bump lpeg to 1.1.0 (#25016) 2023-09-04 22:42:47 +02:00
secure.lua docs: fix type warnings 2023-09-23 23:46:45 +01:00
shared.lua docs: misc #24561 2023-09-20 04:15:23 -07:00
snippet.lua fix(snippet): remove misleading comment about TM_FILENAME_BASE (#26465) 2023-12-08 21:23:46 +01:00
termcap.lua fix(termcap): set 'nested' on TermResponse autocommand 2023-12-14 11:38:34 -06:00
text.lua feat: add vim.text module (#26069) 2023-11-16 11:35:54 -06:00
treesitter.lua fix(treesitter): allow passing lang to vim.treesitter.get_node() now correctly takes opts.lang (#26360) 2023-12-04 10:00:49 +01:00
ui.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
uri.lua docs: fix type warnings 2023-09-23 23:46:45 +01:00
version.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
vimhelp.lua feat(runtime): highlight hl groups in syntax.txt (#25050) 2023-09-08 21:05:35 +08:00