vim-sleuth
nvim-projectconfig
Our great sponsors
vim-sleuth | nvim-projectconfig | |
---|---|---|
27 | 10 | |
1,784 | 97 | |
- | - | |
0.0 | 3.4 | |
about 1 month ago | 4 months ago | |
Vim Script | Lua | |
- | 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-sleuth
-
How can I set my TAB key to be 4 spaces indent?
In addition to setting tabstop and shiftwidth, you might also like this plugin: https://github.com/tpope/vim-sleuth
-
[HELP] File type specific plugin is ignored
vim-sleuth auto detects tab size so...
-
What did I do to deserve this kind of torture
Just add https://github.com/tpope/vim-sleuth and never worry about it again.
- HELP: save options in sessions
-
Learning Rust, I didn't expect such a backstab
At the end of the day I don't really care which a project goes with, I've always just used vim-sleuth to automatically set my tab key to input whatever the current file's indentation is.
-
Trouble detecting shiftwidth correctly
VsCode has an internal function from auto-detecting indentation, while my config uses vim-sleuth with indent-blankline.nvim.
-
Builtin EditorConfig support
If you work a lot on legacy codebases, https://github.com/tpope/vim-sleuth is probably more what you need than editorconfig, as it will work even when one is not present.
-
New plugin for handling soft/hard line wrapping - wrapping.nvim
The primary advantage of using it is that it has built in heuristics for detecting line wrapping when opening a file (with some Treesitter magic for Markdown to make it more accurate), and also allows for manual swapping between wrapping types. You can think of it as the wrapping equivalent to vim-sleuth.
-
How do I force Neovim to always give me two space indents (or the correct indent) everywhere.
I just found about Tim Pope's sleuth: https://github.com/tpope/vim-sleuth It supports editorconfig but it also seems to have just better heuristics when an editorconfig file isn't present, so I just decided to replace `editorconfig-vim` with it.
-
How to set indentation dynamically based on language?
Another solution is try sleuth.vim, that sets automatically your indentation based on the project, buffer and editorconfig
nvim-projectconfig
-
How to set up local project-specific configurations?
This plugin could be helpful: https://github.com/windwp/nvim-projectconfig/
-
[Question] Plugin which sources lua files from a directory depending on project?
My original use-case was, that I wanted to have a lua file per project which for example sets up the dap-configurations since not all projects need the same configurations. I found nvim-projectconfig but I'd need to create a file for each project but I don't want them to be always in my runtime.
- First time developing a plugin, have some questions
-
How do I set project-specific keymaps?
Another way is to add nvim config to each project using this plugin: https://github.com/windwp/nvim-projectconfig. Or just search for "vim project based config" in some search engine.
- Linting when contributing to projects with different styling guides?
-
How do you stop LSP clients?
Or safer than .nvimrc.. use plugin nvim-projectconfig
-
AutoSource: Manage Vim configuration for local projects
why should one use this over https://github.com/windwp/nvim-projectconfig which is mostly in lua
-
Project based config in vim
Plugin: nvim project config
-
Project config plugin
https://github.com/windwp/nvim-projectconfig lol why you need to put projectconfig to same folder with yourcode. you can put it in your .config/nvim/projects and only you can see it and you don't care anything about security.
-
How to temporarily disable lsp?
this is a reason i wrote that plugin https://github.com/windwp/nvim-projectconfig
What are some alternatives?
vim-polyglot - A solid language pack for Vim.
vim-editorconfig - Yet another EditorConfig (http://editorconfig.org) plugin for vim written in vimscript only
nvim-autopairs - autopairs for neovim written in lua
editorconfig-vim - EditorConfig plugin for Vim
limelight.vim - :flashlight: All the world's indeed a stage and we are merely players
neovim-session-manager - A simple wrapper around :mksession.
vim-vinegar - vinegar.vim: Combine with netrw to create a delicious salad dressing
project-config.nvim - Per project config for Neovim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
nvim-lspconfig - Quickstart configs for Nvim LSP
yapf - A formatter for Python files
vim-addon-local-vimrc - kiss local vimrc with hash protection