Implement the handler for LSP textDocument/onTypeFormatting ?

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

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

    Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.

  • Many LSP servers have added support for it, and I've tested it with tsserver and lua-language-server. BTW, coc.nvim already implemented this a long time ago, I'm curious why there seems none has mentioned it and if there is any possibility this could be implemented in core.

  • nvim-type-fmt

    LSP handler of textDocument/onTypeFormatting for nvim.

  • For anyone interested, you could test it by installing my quick implementation temporarily.

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

    Vim-fork focused on extensibility and usability

  • There are some features that haven't been implemented in core yet, because it needs a lot of work to make sure they integrate well with (or don't break) existing features. One such example is textDocument/foldingRange: https://github.com/neovim/neovim/pull/14306

  • codicons.nvim

    A plugin simplifying the task of working with VS Code codicons in Neovim

  • "core.ui.codicons" is a private module and modified from codicons.nvim, you can learn more about it at there.

  • .dotfiles

  • I also did a simple script to test it out a while ago. As you might have realized, this functionality needs to listen for a few triggering characters depending on the language server, kinda like autocomplete implemented by nvim-cmp. So, I guess, until they merge the autocomplete functionality to core, this won't be added. You could, in the meanwhile, create a nvim-cmp plugin and simplify quite a bit what you already have done.

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