Note: Doing this isoptional. Using just the standard nvim-lspconfigrequire'lspconfig'.volar.setup{}instead of the code below is completely fine. What "multiple language servers" does in the context of Volar is explained here:#393 (reply in thread) Anyways, this evening I had some time to...
Here is our-language-server.js, it calls the formatCode function developed in OCaml and transformed to JavaScript. import {TextEdit, Position} from 'vscode-languageserver-protocol'; export class OurLanguageService { format (document, range, option) { let edits = []; edits.push(TextEdit.del(...
A collection of concise write-ups on small things I learn day to day across a variety of languages and technologies. These are things that don't really warrant a full blog post. These are things I've picked up by Learning In Public™ and pairing with smart people at Hashrocket....