dotfiles
nvim-lsp-ts-utils
DISCONTINUED
Our great sponsors
dotfiles | nvim-lsp-ts-utils | |
---|---|---|
7 | 30 | |
4 | 432 | |
- | - | |
6.3 | 8.0 | |
5 days ago | over 1 year ago | |
Shell | Lua | |
- | The Unlicense |
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.
dotfiles
-
What’s your ya combination of lsp, linter and formatter for JS?
I never figured out null-ls for some reason but currently use formatter.nvim to run prettier on save... I do have eslint and typescript diagnostics ...setup looks like this for lsp https://github.com/cmdcolin/dotfiles/blob/master/lua/settings.lua and this for formatting https://github.com/cmdcolin/dotfiles/blob/master/lua/formatting.lua is
- autoformat with lsp-zero
-
Advice on switching from CoC to LSP
personally, i have not had a good experience with integrating eslint, and the prettier experience required some hand-rolling my own config. methods like null-ls never seemed to click with me, so i don't use it. i have auto-format-on-save with prettier using formatter.nvim. my setup https://github.com/cmdcolin/dotfiles
-
What LSP are you using for ReactJS projects and does it have auto imports?
generally for autoimports I have to hit tab and it brings up an auto-complete popup menu next to the cursor, and then it will auto-import the thing I selected from the auto-complete. I don't have any special code that does this in my config afaik so it might be something lsp helps with https://github.com/cmdcolin/dotfiles/blob/master/.vimrc
- I'm searching for nvim configs of react/js developers
-
How to switch from CoC to built in Nvim-LSP?
I was starting to do this here https://github.com/cmdcolin/dotfiles/pull/1/files
nvim-lsp-ts-utils
-
New plugin to support LSP file operations
Wow, cool plugin! Tsserver utils and tsserver extension support these operations https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils https://github.com/jose-elias-alvarez/typescript.nvim
-
Telescope sometimes takes me to the wrong line
Interesting, I work a lot in TypeScript and with inlay hints from nvim-lsp-ts-utils enabled i do have a lot of virtual text.
-
Neovim setup for fullstack web development with typescript.
I also recommend Comment.nvim along with nvim-ts-context-commentstring for easy commenting in mixed syntax files like vue SFCs. nvim-lsp-ts-utils also has some nice utility functions for typescript development.
-
Is neovim good for webdevelopment?
That depends on your language server. I know the typescript language server has it. There is a plugin: https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils that I think can help.
-
What LSP are you using for ReactJS projects and does it have auto imports?
Hi, I just found out about this https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils , I might help you.
-
Typescript: Coc or Built-in LSP?
I would make a feature request on https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils, as this is not likely exposed via the protocol and would need to be implemented in a plugin.
-
Neo-tree now supports floating windows!
There is one “recipe” for tsserver: https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils/blob/main/lua/nvim-lsp-ts-utils/rename-file.lua
-
Anyone have tips to move from VS Code to Neo Vim for React development?
If you're working with React in TypeScript I'd also highly recommend nvim-lsp-ts-utils which adds some nice LSP features, for instance file renaming that automatically updates your module imports.
-
Share your prettier and eslint formatting setup with native lsp.
I can also recommend https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils if you don't want to bother configuring null-ls + eslint LSP + prettierd separately.
-
eslint language server added to nvim-lspconfig
Just migrated from [nvim-lsp-ts-utils](https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils), it's a lot faster, and eslint_d doesn't eat 1GB of memory!
What are some alternatives?
typescript-language-server - TypeScript & JavaScript Language Server
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
vim-js-file-import - Import/require files in javascript and typescript with single button!
vscode-eslint - VSCode extension to integrate eslint into VSCode
nvim-autopairs - autopairs for neovim written in lua
watchman - Watches files and records, or triggers actions, when they change.
diagnosticls-configs-nvim - An unofficial collection of linters and formatters configured for diagnostic-languageserver for neovim.
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
coc-eslint - Eslint extension for coc.nvim
nvim-compe - Auto completion Lua plugin for nvim
fwatch.nvim - fwatch.nvim lets you watch files or directories for changes and then run vim commands or lua functions.