nvim-cmp source for twig.
This plugin autocompletes twig filters and functions located in
src
directory.
The native filters and functions are also available.
Filters and functions are refreshed every 30 seconds.
- ripgrep to search for filters and functions
require('cmp').setup({
sources = {
{ name = 'twig' },
},
})
The plugin is activated for twig
filetype.
There are three trigger characters:
- pipe triggers filters completion
- space and open parenthesis trigger functions completion
There is no configuration at the moment.
- Configure filetypes
- Configure filters and functions location