neovim/runtime/lua/vim
Christian Clason f408603f4f vim-patch:9.1.0731: inconsistent case sensitive extension matching
Problem:  inconsistent case sensitive extension matching
Solution: unify case sensitive extension matching (Evgeni Chasnovski).

There are different approaches of how extensions are matched with
respect to case sensitivity. In particular, '\c' flag is used in pattern
whereas in most places case sensitive matching is guarded behind
`has("fname_case")` condition.

Replace all instances of '\c' with an explicit case sensitive pattern
variants guarded by `has("fname_case")`. Strictly speaking, this is a
breaking change because only two (most common and prevailingly tested)
variants are now matched: upper first letter and upper all letters.

closes: vim/vim#15672

59b089c9df

Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
2024-09-16 08:16:07 +02:00
..
_meta fix: replace NVIM with Nvim in default titlestring (#30348) 2024-09-11 20:32:08 +00:00
deprecated refactor(lua): use tuple syntax everywhere #29111 2024-06-04 06:06:02 -07:00
filetype vim-patch:9.1.0635: filetype: SuperHTML template files not recognized 2024-07-29 09:12:14 +02:00
func fix(treesitter): return correct match table in iter_captures() 2024-03-27 10:39:46 +00:00
health fix(lua): change some vim.fn.expand() to vim.fs.normalize() (#29583) 2024-07-09 19:17:50 +08:00
lsp fix(lsp): handle nil bytes in strings 2024-09-13 22:34:49 +02:00
provider fix(health): fix pyenv root and python exepath detect issue 2024-07-24 16:21:46 +02:00
treesitter feat(treesitter): start moving get_parser to return nil #30313 2024-09-13 05:09:11 -07:00
ui/clipboard fix(osc52): use nvim_chan_send() to stderr for copying (#26690) 2023-12-21 11:47:04 +08:00
_comment.lua feat(treesitter): start moving get_parser to return nil #30313 2024-09-13 05:09:11 -07:00
_defaults.lua fix(defaults): cannot remove "How-to disable mouse" menu item #30375 2024-09-14 02:18:38 -07:00
_editor.lua docs: misc #28970 2024-09-01 13:01:24 -07:00
_init_packages.lua refactor(types): more fixes 2024-03-06 10:45:22 +00:00
_inspector.lua refactor: use vim._with where possible 2024-06-28 19:58:31 +02:00
_meta.lua refactor: fix luals type warnings 2024-05-27 20:48:46 +02:00
_options.lua fix(vim.wo): never allow non-zero bufnr 2024-06-12 15:42:56 +01:00
_system.lua fix(vim.ui): open() may wait indefinitely #28325 2024-04-15 04:33:09 -07:00
_watch.lua fix(watch): exclude .git when using inotifywait (#29914) 2024-08-01 16:00:48 +02:00
diagnostic.lua fix(diagnostic): fix backwards compatibility for goto_next and goto_prev (#29593) 2024-07-09 14:08:12 -05:00
F.lua fix(diagnostic): typing 2024-01-16 09:33:10 +00:00
filetype.lua vim-patch:9.1.0731: inconsistent case sensitive extension matching 2024-09-16 08:16:07 +02:00
fs.lua fix(fs): make vim.fs.root work for relative paths and unnamed buffers (#28964) 2024-05-24 10:48:32 -05:00
func.lua fix(treesitter): return correct match table in iter_captures() 2024-03-27 10:39:46 +00:00
glob.lua fix(glob): avoid subcapture nesting too deep error (#29520) 2024-07-06 11:40:08 +02:00
health.lua fix(health): return correct name from 'path2name()' 2024-09-11 07:55:37 +03:00
highlight.lua refactor: use vim._with where possible 2024-06-28 19:58:31 +02:00
inspect.lua fix(inspect): escape identifiers that are lua keywords (#19898) 2022-08-23 13:02:55 +02:00
iter.lua docs: misc #28970 2024-09-01 13:01:24 -07:00
keymap.lua refactor(lua): type annotations 2024-03-16 19:26:10 +00:00
loader.lua fix(loader): follow the style of the error message for built-in loaders 2024-08-13 14:05:10 +01:00
lsp.lua docs: misc (#29719) 2024-08-29 06:11:32 +08:00
provider.lua refactor: create function for deferred loading 2024-02-03 16:53:41 +01:00
re.lua docs: auto-generate docs for vim.lpeg and vim.re 2024-01-14 11:08:33 +00:00
secure.lua refactor(lua): type annotations 2024-03-16 19:26:10 +00:00
shared.lua fix(lua): revert vim.tbl_extend behavior change and document it 2024-09-08 21:06:13 +02:00
snippet.lua fix(snippet): modify base indentation when there's actually whitespace (#29670) 2024-07-16 19:30:22 +02:00
termcap.lua docs: various fixes (#28208) 2024-04-30 07:04:42 +08:00
text.lua fix(vim.text): handle very long strings (#30075) 2024-08-17 22:28:03 -05:00
treesitter.lua feat(treesitter): start moving get_parser to return nil #30313 2024-09-13 05:09:11 -07:00
ui.lua fix(vim.ui.open): prefer xdg-open on WSL #30302 2024-09-07 14:14:37 -07:00
uri.lua fix(lua): remove uri fragment from file paths (#27647) 2024-02-28 10:50:53 +01:00
version.lua fix(version): return nil with empty string 2024-07-27 14:06:31 +01:00
vimhelp.lua feat(treesitter): start moving get_parser to return nil #30313 2024-09-13 05:09:11 -07:00