diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-03-31 19:22:20 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-04-01 12:01:47 +0200 |
commit | 1a0b27965c13cf0f2d405bed341621ec8cdf3d70 (patch) | |
tree | 2d019b36d30fc37484ef9c78420edc7c7f099447 /runtime/lua/vim | |
parent | 5cdbb22c348f196f59d55535cc4bfee5dc72d83c (diff) | |
download | rneovim-1a0b27965c13cf0f2d405bed341621ec8cdf3d70.tar.gz rneovim-1a0b27965c13cf0f2d405bed341621ec8cdf3d70.tar.bz2 rneovim-1a0b27965c13cf0f2d405bed341621ec8cdf3d70.zip |
vim-patch:9.1.0243: filetype: netrw history file is not recognized
Problem: filetype: netrw history file is not recognized
Solution: Detect .netrwhist as vim files (Wu, Zhenyu)
closes: vim/vim#14364
https://github.com/vim/vim/commit/abbb4a4f7032de9e223293182402af5e2867e372
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index ba5c0add73..c721d387b9 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1542,6 +1542,7 @@ local filename = { vgrindefs = 'vgrindefs', ['.exrc'] = 'vim', ['_exrc'] = 'vim', + ['.netrwhist'] = 'vim', ['_viminfo'] = 'viminfo', ['.viminfo'] = 'viminfo', ['.wgetrc'] = 'wget', |