Snippets in neovim terminal #951
derekthecool
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd love to use luasnippets in the neovim terminal. It would be awesome to have some superfast shell snippets for bash and powershell. There are some tools that help you run commands you've already run, but that is not enough.
With snippets in a neovim shell it would open the door to crazy fast terminal input.
I know there are likely to be several complications with shell readline features, new lines, and more.
I'm not even sure how to get started enabling this? I can see that the filetype of the new terminal (
tabnew | term
) is empty (no filetype is set). I can change the filetype like any other file, and the highlighting does change, but I don't get luasnip, cmp to start working.Anybody have an idea about how to get started on this endeavor?
Beta Was this translation helpful? Give feedback.
All reactions