vim-localvimrc
coc-pyright
Our great sponsors
vim-localvimrc | coc-pyright | |
---|---|---|
10 | 15 | |
473 | 1,253 | |
- | - | |
3.0 | 8.9 | |
26 days ago | 5 days ago | |
Vim Script | TypeScript | |
GNU General Public License v3.0 only | 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.
vim-localvimrc
-
Project & File navigation
A big part of 'project awareness' implies (to me at least!) that a project is organized in some meaningful way: test/view/model/service/domain files all relate to one another by their naming conventions and location in the project tree.When I start/join a project I look for documentation of the project's structure (or document it myself!). Then for vim:- use https://github.com/embear/vim-localvimrc - drop a .vimrc in the project so I can tweak vim to suit the project.
- Jinja and Django development
- exrc.nvim - Secure Project Local Config for Neovim
-
Project directory variable?
Something like Localvimrc?
-
Software engineers on big projects using vim, are you there?
Project-specific editor config: vim-localvimrc, vim-addon-local-vimrc
-
How do I override filetype for .yml files in the local project?
Is vim modeline a good way to do it? What do you think about that solution: https://github.com/embear/vim-localvimrc?
- Best way to have project specific settings?
-
AutoSource: Manage Vim configuration for local projects
This is pretty much the last one, but with available commands. One I find particularly useful is LocalVimRCCleanup. I'm not sure how common of a use-case this is, but AutoSource stores the hashes of each file you approved, and a common command I run while testing is rm ~/.autosource_hashdir/* :p
-
Running Tasks in Vim
Nice video. I have a similar approach for isolating project specific commands and configurations. I may borrow your idea for a project specific menu to run tasks. For a project dedicated vimrc I use embear/vim-localvimrc for a few years because it has auto discovery and auto change directory for a project, and require confirmation for loading the vimrc file.
coc-pyright
-
How to configure vim like an IDE
Python has several here, pylsp, pyright & a fork of vscode-python
-
How to get inlay hints working with pyright
If you use coc.nvim, the coc-pyright module supports inlay hints: https://github.com/fannheyward/coc-pyright
-
NVIM: More complete autocomplete
I highly recommend coc.nvim with coc-pyright for python support. Works regardless of vim variant (vim/nvim/etc)
-
any way to tell coc-pyright to use mypy for its type checking instead?
Yup! Go here: https://github.com/fannheyward/coc-pyright And search for python.linting.mypyEnabled
- Code Linting
-
Configuring vim for Flask and SQLAlchemy
I think coc-python has been deprecated for a while. You might want to try coc-pyright: https://github.com/fannheyward/coc-pyright
-
Jinja and Django development
And for python dev, you can try & install these coc extension: - https://github.com/fannheyward/coc-pyright - https://github.com/yaegassy/coc-htmldjango
-
What IDE do you use at your job? And what is the primary language you develop in?
VSCode's LSP was the key technology that enabled Vim to get IDE features. I've heard it works well for python.
-
pyee Release 9.0: Type Annotations, New APIs & More!
As a bonus, pyright's baked in vscode support - something it shares with typescript - not only implies a buttery smooth vs code environment, but also leaves the door open for other lsp-friendly editor/IDE plugins. I personally use neovim and coc.nvim, and as it turns out pyright integrates with coc.nvim quite nicely.
-
coc - microsoft python server language high memory usage.
coc-pyright is considered the successor to coc-python.
What are some alternatives?
editorconfig-vim - EditorConfig plugin for Vim
jedi-language-server - A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.
exrc.vim - Local vimrc files
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
vim-dotenv - dotenv.vim: Basic support for .env and Procfile
Jedi-vim - Using the jedi autocompletion library for VIM.
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
pyright - Static Type Checker for Python
vim-autosource - Manage Vim configuration for projects.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
ctrlp.vim - Fuzzy file, buffer, mru, tag, etc finder.
lite - A lightweight text editor written in Lua