Prettier and Neoformat not working on Svelte Files

This page summarizes the projects mentioned and recommended in the original post on /r/sveltejs

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • language-tools

    The Svelte Language Server, and official extensions which use it (by sveltejs)

  • 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.

  • neoformat

    :sparkles: A (Neo)vim plugin for formatting code.

  • 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.

  • 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.

    InfluxDB logo
  • NvChad

    Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.

  • 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.)

  • nvim-lspconfig

    Quickstart configs for Nvim LSP

  • If someone else is having this problem and is using nvim-lspconfig you can use the default format function, I used the following mapping.

  • Vim

    :star: Vim for Visual Studio Code (by VSCodeVim)

  • 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.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts