aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/typescript.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-12-22 15:15:57 +0100
committerChristian Clason <ch.clason+github@icloud.com>2024-12-22 18:05:07 +0100
commit665a0e85c4788cb2847e270c333c0aee306f07ad (patch)
tree3930e7bf81a2d321bd2c57099e3e71bbaa578ce9 /runtime/syntax/typescript.vim
parentd1e00a5f6dce9cf1fa80f613d4d27019966e5a79 (diff)
downloadrneovim-665a0e85c4788cb2847e270c333c0aee306f07ad.tar.gz
rneovim-665a0e85c4788cb2847e270c333c0aee306f07ad.tar.bz2
rneovim-665a0e85c4788cb2847e270c333c0aee306f07ad.zip
vim-patch:9.1.0953: filetype: APKBUILD files not correctly detected
Problem: filetype: APKBUILD files not correctly detected Solution: detect 'APKBUILD' files as apkbuild filetype, include a apkbuild syntax script (which basically just sources the sh.vim syntax file) (Hugo Osvaldo Barrera) Vim plugins (e.g.: ALE, nvim-lspconfig, etc) rely on filetype to determine which integrations/helpers are applicable. They expect filetype=apkbuild for APKBUILD files. On the other hand, plugins also enable bash-specific linters and functionality when filetype=bash, but APKBUILD files are POSIX sh, not bash, so these often provide bogus results. Change the filetype for APKBUILD to a 'apkbuild', so that tools and ftplugin can properly target these files. This filetype will use the existing `sh` syntax rules, since these are applicable for them. https://github.com/vim/vim/commit/7cb24917a112ba473cb351bdcdc48b8adbd46793 Co-authored-by: Hugo Osvaldo Barrera' via vim_dev <vim_dev@googlegroups.com>
Diffstat (limited to 'runtime/syntax/typescript.vim')
0 files changed, 0 insertions, 0 deletions