Well, one can always works with .svelte files in Kakoune. In fact, I have been doing that for two days, with the pain of lacking language supports. Doable. But not ideal. Certainly not looking good for a programmer. We are supposed to be the productive bunch. Language supports are there to help us and we cannot say no.
Today is the day I finally take down the task to enable LSP in my Sparky's Kakoune for Svelte development. LSP stands for Language Server Protocol. Look it up if you aren't too sure about it. Basically it is a protocol for language servers and IDE/Code editors to communicate, mostly about the programming language used in the IDE.
It wasn't obvious, but I found the simple solution for Svelte LSP here: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#svelte. Not obvious because I only found this gem out of GitHub Issues digging. The official Svelte Language Server page did not make the job easy for anyone who is not using VSCode.
So. Svelte developers in Kakoune camp. There you go. Install kak-lsp. Follow the link above. Happy coding!
Today is the day I finally take down the task to enable LSP in my Sparky's Kakoune for Svelte development. LSP stands for Language Server Protocol. Look it up if you aren't too sure about it. Basically it is a protocol for language servers and IDE/Code editors to communicate, mostly about the programming language used in the IDE.
It wasn't obvious, but I found the simple solution for Svelte LSP here: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#svelte. Not obvious because I only found this gem out of GitHub Issues digging. The official Svelte Language Server page did not make the job easy for anyone who is not using VSCode.
So. Svelte developers in Kakoune camp. There you go. Install kak-lsp. Follow the link above. Happy coding!