On Wed, 18 Dec 2024, 'Hugo Osvaldo Barrera' via vim_dev wrote:

> 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.


Thanks. I include this.

Thanks,
Christian
-- 
The scum also rises.
                -- Dr. Hunter S. Thompson

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/Z2gb3fKj%2BD/TWjcJ%40256bit.org.

Raspunde prin e-mail lui