typescript.nvim
efm-langserver
Our great sponsors
typescript.nvim | efm-langserver | |
---|---|---|
32 | 50 | |
497 | 1,280 | |
- | - | |
0.0 | 6.9 | |
9 months ago | 14 days ago | |
TypeScript | Go | |
The Unlicense | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
typescript.nvim
-
null-ls will be archived
typescript.nvim will also be archived
-
[TS LSP] "go to source definition"
typescript.nvim has an option to "Go To Source Definition".
-
typescript-tools.nvim - The TypeScript Integration NeoVim Deserves
Same question here: how does it compare to typescript.nvim?
-
Add all missing imports
Im using this plugin, and here is the code, when for example copy some code, and save the file import all missing files, organize imports and remove unused code automatically:
-
Add all missing imports from lsp server
It depends on your language server. Tssever has this functionality builtin into it, you need typescript.nvim to use it
-
Need some guidance on how to tweak a piece of the config
I would suggest installing jose-elias-alvarez/typescript.nvim. It provides commands like TypescriptOrganizeImports, TypescriptAddMissingImports, TypescriptRenameFile and TypescriptGoToSourceDefinition
-
Go to definition in React
Try to use with this typescript.nvim
-
How to change tsserver preferences key using LSP?
The options injection system works properly for other languages. So I think this is some kind of tsserver configuration thing I'm missing. I also checked typescript.nvim but it seems to only provide commands like :TypescriptOrganizeImports that I already get using lsp.
- How can I get the return type of a function?
- Newbie here! TS monorepo setup question!
efm-langserver
-
Style rules for LSP for coursework
Usually another program is used to lint/format code. Basic way is to just run them as a shell command or in another terminal and reload the file, but you can also hook it up to lsp. For example Javascript/Typescript projects use eslint and prettier. Runing `npx prettier` will format the files according to default rules. This is fine for every once in a while or a pre-commit hook. I think you are looking to have it integrated in nvim. Most formatters don't have a language server so you can connect them to nvim lsp with a general language server like: https://github.com/mattn/efm-langserver
-
efm-langserver doesn't work in helix as expected
I just started using helix and I absolutely love it 🔥 But I faced a really weird problem with using efm-langserver in helix.
-
Error when using efm-langserver
I installed efm-langserver with Homebrew. Then, after my `mason_lspconfig` setup I tried adding this:
-
How to setup efm-langserver for pint formatter?
I've been using pint for formatting php files with null-ls.nvim. Few days ago null-ls.nvim has announced that the plugin will be archived in few months so I started migrating all my formatters and linter from null-ls to efm-langserver. I got other things such as prettier, black, isort, mypy, etc. working but can't get pint to work with php files: If I run pint via efm-langserver, everything is deleted from the buffer, and the saved file is formatted separately. How do I setup efm-langserver correctly to work with pint? Below is my config.yml for pint currently. yaml tools: pint: &pint format-command: "pint --no-interaction --quiet ${INPUT}" format-stdin: false languages: php: - <<: *pint Thank you.
-
Anyone using efm-langserver with native LSP?
It seems to be a recurring issue: https://github.com/mattn/efm-langserver/issues/181 https://github.com/mattn/efm-langserver/issues/241
- null-ls will be archived
- [Neovim] Comment formater une partie du fichier à l'aide de la prise en charge LSP native de Neovim?
-
How do you handle level productivity: autoformat, insert debug statement, execute file?
I use the LSP if it supports formatting. I supplement that with efm-langserver which interfaces with CLI formatters and linters. It works well, similar to null-ls as I understand it.
-
Editing the same file in a split causes vim to jump to the top of the file when saving with autoformatter
As far as I know, the only solution (other than getting formatting directly from a LSP server) is to use EFM (https://github.com/mattn/efm-langserver), which implements the tricky logic of figuring out how to only update the changed text.
- Universal coc language server?
What are some alternatives?
nvim-oxi - :link: Rust bindings to all things Neovim
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
nvim - A non-minimal Neovim config built to work most efficiently with Frontend Development
nvim-lspconfig - Quickstart configs for Nvim LSP
neodev.nvim - 💻 Neovim setup for init.lua and plugin development with full signature help, docs and completion for the nvim lua API.
format.nvim - A wrapper around Neovims native LSP formatting. [Moved to: https://github.com/lukas-reineke/lsp-format.nvim]
nvim-lsp-ts-utils - Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
diagnostic-languageserver - diagnostic language server integrate with linters
DotFiles
formatter.nvim
vim-efm-langserver-settings - vim lsp client - efm-langserver link and configure settings
ShellCheck - ShellCheck, a static analysis tool for shell scripts