nvim-config-local
editorconfig-vim
nvim-config-local | editorconfig-vim | |
---|---|---|
6 | 134 | |
134 | 3,104 | |
- | 0.1% | |
5.0 | 5.1 | |
11 months ago | 19 days ago | |
Lua | Vim Script | |
MIT License | GNU General Public License v3.0 or later |
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-config-local
-
Using LazyVim and Mason.nvim LSP manager. How do I add arguments to the clangd or and LSP?
it's been undeprecated recently, but if you would prefer to use a plugin, I use this one
-
[Question] Plugin which sources lua files from a directory depending on project?
The next version of neovim (and currently, nightly) re-enables support for exec, which sounds close to what you want. In the meantime check out https://github.com/klen/nvim-config-local. These both do a single file, but once you're running some code it's easy enough to get that file to source more.
- How to configure telescope (or any other plugin) per project?
-
How do you handle project specific configuration?
I just use nvim-config-local, which is basically just souped up :h 'exrc'. And then from there I typically set makeprg and a custom "run" command if I want, along with any other settings I might want in the project. I tried using some custom runner type plugins in the past but I think this method has provided me with the most flexibility, and I don't have to learn anything new because it's just the same as what i do in my init.lua.
-
How do y'all feel about handling project local settings using a json file?
I took inspiration from nvim-config-local and added an integrity check, to force the user to review the settings file at least once. It's on by default, but is optional. The file can be safe to use if you don't expose any option that allows for arbitrary code execution.
-
Manage project local settings for a language server with lsp-zero
nvim-config-local
editorconfig-vim
-
Most basic code formatting
These are tools that you need to add. But the most elemental code formatting is not here, it is in the widely supported .editorconfig file.
-
Taking the Language Server Protocol one step further
Hello,
Maybe you should check this project:
https://editorconfig.org/
Regards,
- How to config indentation per project?
-
How We Started Managing BSA Delivery Processes on GitHub
editorconfigchecker. A linter that checks files for compliance with editorconfig rules. Another linter that helps maintain consistency in the format of all files.
-
Ask HN: What work/office purchase transformed your life?
Oh, yeah, we had that issue too and solved it pretty successfully with `.editorconfig` (shareable between VScode and IntelliJ, https://editorconfig.org/) combined with `prettier`.
Each IDE is configured to:
- Not reformat code on its own
- Ignore whitespace
- Run `prettier` as a pre-commit hook
Those settings are saved to `.editorconfig` where possible, or to each IDE's repo-specific folder (e.g. `.idea`).
Then in theory each developer can use whatever IDE they want, whatever whitespace settings they want (tabs vs spaces), and the end code committed to the repo is still the same.
-
Rider - Formatting across projects
I am aware of .editorconfig, and one day that may be the correct answer but the specification does not support every element of the styles of both oss and css.
-
Is there any reason to keep the editorconfig plugin installed?
Does this mean I can completely get rid of this plugin?: https://github.com/editorconfig/editorconfig-vim
-
Is there really no support for editorconfig, yet?
[1] https://editorconfig.org
- How do you handle code formatting in a team?
-
Announcing C# Dev Kit for Visual Studio Code
I dunno who downvoted your question, but I believe you can use .editorconfig to set that up for you.
What are some alternatives?
direnv.vim - vim plugin for direnv support
nvim-projectconfig - neovim projectconfig
project-settings.nvim - Manage project local settings using a json file.
pycodestyle - Simple Python style checker in one Python file
IDE.nvim - IDE-Like support for NeoVim
project-config.nvim - Per project config for Neovim
confiture.nvim - A neovim lua plugin to save and launch project specific commands.
tabset.nvim - A Neovim plugin to easily set tabstop, shiftwidth and expandtab settings for file types.
exrc.nvim - Secure Project Local Config for Neovim
prettier - Prettier is an opinionated code formatter.
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
emacs-solidity - The official solidity-mode for EMACS