vim-efm-langserver-settings
version 1: support npm before v7.
detail
vim lsp client - efm-langserver link and configure settings.
support lsp client
installation
ex. with vim-lsp
plugin
[[plugins]]
repo = 'tsuyoshicho/vim-efm-langserver-settings'
depends = ['vim-lsp']
NOTE: If you install vim-lsp-settings
plugin, Using LspInstallServer
command are ok(need $PATH), but settings please keeping to disabled.
This plugin setting up efm-langserver to work.
install command/plugin
- efm-langserver
- lsp plugin
- linter/formatter commands if you need
support command
command | type | lint/format | require / limitation | config status | note |
---|---|---|---|---|---|
vim-vint | vim | lint | pip | not need config | |
markdownlint | markdown | lint | npm | not need config / user config affected | .markdownlint.json in the current directory.setting in project root sample. |
errata-ai/vale | text, markdown, rst, help | lint | go | not included config / user config needed | .vale.ini in the current directory.or in $HOME directory. setting in home sample. |
koron/nvcheck | text, markdown, rst, help | lint, format | go | not included config / user config needed | dict.yml in the project root.sample in vimdoc-jp-working. |
htmlint | html | lint | npm | user config needed | .htmllintrc in the project root.Generate from command at htmllint init . |
eslint | javascript, typescript | lint, format | npm | not need config / user config affected | .eslintrc.js , .eslintrc.yaml (yml) , .eslintrc.json or setting into package.json in the project root. |
stylelint | css, scss, sass, less, sugarss | lint | npm | not included config / user config needed | .stylelintrc.json in the project root. |
prettier | typescript, css, less, scss, json, json5, graphql, markdown, vue, yaml, html | format | npm | not need config / user config affected | setting into package.json in the project root. |
flake8 | python | lint | pip | not need config / user config affected | setup.cfg , tox.ini , .flake8 in project root..flake8 , ~/.config/flake8 in home. |
mypy | python | lint | pip | not need config / user config affected | mypy.ini , setup.cfg in project root. .mypy.ini in $HOME directory. |
rubocop | ruby | lint, format | bundle install need | not need config / user config affected | .rubocop.yml in project root. |
rufo | ruby | format | bundle install need | not need config / user config affected | .rufo in project root. |
Cppcheck | c, cpp | lint | not need config | ||
ShellCheck | sh | lint | not need config / user config affected | .shellcheckrc or shellcheckrc in the current directory(search parent upto root)..shellcheckrc in $HOME directory. XDG config directory (usually ~/.config/shellcheckrc ) on Unix, or %APPDATA%/shellcheckrc on Windows. setting in home sample. |
|
shfmt mvdan/sh | sh | format | go | not need config | |
jsonlint | json | lint | npm | not need config | |
jq | json | format | not need config | ||
fixjson | json, json5 | format | npm | not need config | |
yamllint | yaml | lint | pip | not need config / user config affected | .yamllint , .yamllint.yaml or .yamllint.yml in the current working directoryconfig in $XDG_CONFIG_HOME ~/.config/yamllint/config (support?). |
restructuredtext-lint | rst | lint | pip | not need config | |
Pandoc | markdown, rst | format | not need config | ||
†excitetranslate | any (open file is not any defined type) | hover | go | not need config |
If not command exists, command’s supporting type no setup.
Please contribute any other linter setting(mapping, efm-langserver setting, user setting sample) If you contribute, fork and create PR.
support codeAction
- Config Reload (any OS)
- Open Editor (any OS)
- Open Filer (mac,Windows)
- Open Browser (mac)
- Open Default Application (any OS)