yuki-yano / vim-efm-langserver-settings

vim lsp client - efm-langserver link and configure settings

Home Page:https://tsuyoshicho.github.io/vim-efm-langserver-settings/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-efm-langserver-settings

version 2: support npm v7 or later. When you using with npm before v7, use version 1(tag v1, v1.0, v1.0.0 or some upper/branch release/v1).

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

support command

command type lint/format/action require / limitation config status note
vim-vint vim lint pip not need config
markdownlint-cli markdown lint, action(fix) npm (global) not need config / user config affected .markdownlint.json in the current directory.
setting in project root sample.
textlint text, markdown, html, rst, asciidoc, review, help lint, action(fix) npm (local) user config needed .textlintrc in the project root.
redpen text, markdown, rst, asciidoc, latex, review, help lint java not included config / user config needed redpen-conf.xml, redpen-conf-{lang}.xml in the current directory.
or in $REDPEN_HOME/conf directory.
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, action(fix) go not included config / user config needed dict.yml in the project root.
sample in vimdoc-jp-working.
htmllint html lint npm (global) user config needed .htmllintrc in the project root.
Generate from command at htmllint init.
eslint javascript, typescript lint, action(fix) npm (local) 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 (local) not included config / user config needed .stylelintrc.json in the project root.
prettier typescript, css, less, scss, json, json5, graphql, markdown, vue, yaml, html action(fix) npm (local) 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, action(fix) 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 (global) not need config
jq json format not need config
fixjson json, json5 format npm (global) not need config
yamllint yaml lint pip not need config / user config affected .yamllint , .yamllint.yaml or .yamllint.yml in the current working directory
config 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.

why variant?

  • bundle install need : call via bundle - need project version and/or setting.
  • npm (local) : call via npx (--no arg) - need project version and/or setting.
  • npm (global) : call direct - standalone command is that tool recommended method / not need project specific.

support codeAction (global)

  • Config Reload (any OS)
  • Open Editor (any OS)
  • Open Filer (mac,Windows)
  • Open Browser (mac)
  • Open Default Application (any OS)

related

Special Thanks

About

vim lsp client - efm-langserver link and configure settings

https://tsuyoshicho.github.io/vim-efm-langserver-settings/

License:MIT License


Languages

Language:Vim Script 100.0%