Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
NvChad
Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I just started learning Svelte today (I usually do React) and since I use neovim as my editor I had to install a couple of plugins in order to get nice syntax and autocompletition, I already managed to set up Svelte's Language Server but I'm still having trouble with my formating plugin, Neoformat.
I just started learning Svelte today (I usually do React) and since I use neovim as my editor I had to install a couple of plugins in order to get nice syntax and autocompletition, I already managed to set up Svelte's Language Server but I'm still having trouble with my formating plugin, Neoformat.
Thank you! In my case I wanted to truly master the VIM key binds, I was inspired by this Ben Awad's video. I had used the keybinds before, but I just ended up defaulting to VSCode's UI (I really wanted to archive not using my mouse when developing, really easy with a Dynamic Window Manager). Overtime, I developed my own "IDE" (through plugins) which really makes you appreciate the features other IDE's include, I even rewrote my whole config in lua once NVIM 5 was released, I haven't used VSCode in 6 months, though moments like this can really frustrate me, you don't actually need to build something from scratch you can use a prebuilt vim distribution like nvchad (I actually replaced some of my old plugins with theirs by checking their config.)
If someone else is having this problem and is using nvim-lspconfig you can use the default format function, I used the following mapping.
Related posts
- Pylyser python lsp
- Plugins to have VS code tools
- neovim-lua - Working on improvements for LSP and celebrating 2 years with Lua
- Best way to go about installing LSP today?
- Is there any way to autocomplete language functions? For example, show things like fmt.Printf or fmt.Println when writing fmt.Print and pressing the autocomplete key.