zjp-CN
zjp-CN
I'm testing the other examples. `api` [doesn't work](https://asciinema.org/a/OQHkashPH7OAlsuFwmTJs9OiV) this time. ```lua E5108: Error executing lua "replace_keycodes is not a boolean" stack traceback: [C]: at 0x7f95ded80ba0 [C]: in function 'require' [string...
```shell # content of ./examples.sh # build so cargo b -q --example api --features neovim-nightly cargo b -q --example mlua --features mlua,neovim-nightly cargo b -q --example calc --features neovim-nightly cargo...
We can put it in the wiki.
> We could also host the docs in the repo. Thanks for the idea. But I think it will bring drawbacks more then benefits. I've updated the Wiki. So I'm...
I want this to be default. I use `dracula` theme, and in order to distinguish the popup, I have to modify the theme:   And I haven't seen any...
I think it's `ls.filetype_extend`. I've seen that usage in the [Examples](https://github.com/L3MON4D3/LuaSnip/blob/master/Examples/snippets.lua), but I forgot it :( Now it works! > treesitter-aware expansion in markdown-files Could you give an example code...
Well, it doesn't work for me, either :(
> it should only expand lua-snippet when inside a fenced code-block for lua It didn't. There is the [setup](https://github.com/zjp-CN/nvim-config/blob/0f0d450eb6ebaf34347e5fc414913d110572494f/plugin/luasnip.lua#L13-L18) and the [screencast](https://asciinema.org/a/LkxxWfWo8jhUdGerl61Yk9Yrv).
https://user-images.githubusercontent.com/25300418/187066928-d80076fa-30e4-493d-9fb5-f63956700d59.mp4 I tried `get_snippet_filetypes` too, and the filetype in codefence is always `{ "markdown", "all" }` for me, though I see you get `lua` filetype somewhere.
`markdown_inline` and `markdown`. This is the same with `markdown` only: https://user-images.githubusercontent.com/25300418/187068274-dce5d321-26fa-4fef-8e53-d2524664c176.mp4