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.
-
dotfiles
👨🏻💻 My dotfiles including Neovim Lua config, ZSH with zinit plugin manager & powerlevel10k prompt (by disrupted)
-
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.
If you want REALLY fast JS/TS/JSON/Markdown formatting then use the Deno language server: https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md#denols
It is written in Rust, and the formatting is built into the Deno executable using a clone of Prettier https://dprint.dev/. You can use it as your main language server for web based JS/TS as well as Deno specific code.
Yeah! And if we ever have the need to have another tool in the list of daemonized tools, we can do it using this: https://github.com/mantoni/core_d.js (as the author of prettierd documented). I find the approach very interesting!
Formatting for JSON and Markdown using the LSP is currently a pull request waiting to be merged https://github.com/denoland/deno/pull/10180 . There is a new Deno release every week or so...
I couldn't get it to work with prettierd, but found prettier_d_slim which is a very similar alternative: https://github.com/disrupted/dotfiles/blob/master/.config/nvim/lua/efm/prettier_d.lua
Related posts
- Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
- How QUIC is displacing TCP for speed
- Deno in 2023
- Deno, the next-generation JavaScript runtime
- use rustls-tokio-stream instead of tokio-rustls did not fix Using self-signed certs with TLS WebSockets causes "No response from ping frame." error event after a short period connectivity