nvim-lsp-ts-utils
dotfiles
nvim-lsp-ts-utils | dotfiles | |
---|---|---|
30 | 5 | |
432 | 90 | |
- | - | |
8.0 | 4.9 | |
almost 2 years ago | almost 1 year ago | |
Lua | C | |
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.
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 it possible make lsp definition preview more readable/pretty, and add colors or tree-sitter suport?
-
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.
- Sort and remove redundant imports
dotfiles
-
LSP + efm stopped working with eslint
My config is pretty much identical to all of the example configs people have posted here (like this one https://github.com/martinsione/dotfiles/blob/master/src/.config/nvim/lua/modules/config/nvim-lspconfig/format.lua), so I'm really not sure what's going on here. Here's my config local lspconfig = require('lspconfig') local buf_keymap = vim.api.nvim_buf_set_keymap local cmd = vim.cmd local keymap_opts = {noremap = true, silent = true}
-
Share your prettier and eslint formatting setup with native lsp.
I use efm for formatting and so far has been pretty good and easy to setup. Take a look. https://github.com/martinsione/dotfiles/blob/master/src/.config/nvim/lua/modules/config/nvim-lspconfig/format.lua
-
How to run C++ from vim in an external terminal window with ability to add input.
Here is how I do it, https://github.com/martinsione/dotfiles/blob/master/src/.config/nvim/lua/core/compiler.lua
-
Do you use built-in LSP for autoformatting?
Check out this guy's dotfiles, they got me up and running very quickly. https://github.com/martinsione/dotfiles/tree/master/src/.config/nvim
-
Native LSP with tsserver + efm with prettier/eslint
This are my dotfiles https://github.com/martinsione/dotfiles/tree/master/src/.config/nvim, lsp and efm configs are in lua/plugin/nvim-lspconfig hope you find it useful :).
What are some alternatives?
typescript-language-server - TypeScript & JavaScript Language Server
FTerm.nvim - :fire: No-nonsense floating terminal plugin for neovim :fire:
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
dotfiles - ever growing dotfiles...
vim-js-file-import - Import/require files in javascript and typescript with single button!
yabs.nvim - Yet Another Build System/Code Runner for Neovim, written in lua
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
CosmicNvim - CosmicNvim is a lightweight and opinionated Neovim config for web development, specifically designed to provide a 💫 COSMIC programming experience! [Moved to: https://github.com/CosmicNvim/CosmicNvim]
vscode-eslint - VSCode extension to integrate eslint into VSCode
ubuntu-dotfiles - Personal dotfiles and installation files for Ubuntu
nvim-autopairs - autopairs for neovim written in lua
ubuntu-dotfiles - ubuntu dotfiles