| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
To load dedicatedly for code-behind file in avalonia project, L3MON4D3/LuaSnip requires a specific filetype to distinguish from general C# file(following example uses axaml-cs). And you should properly add detection pattern for it using vim.filetype.add.
require('luasnip').add_snippets('axaml-cs', require('avalonia-luasnip.snippets'))
vim.filetype.add {
pattern = {
['.*axaml%.cs'] = 'axaml-cs',
},
}Note
You can lazy-load this plugin using your package manager
| Back | FazBrowse Home | New Git URL |