1.6k sao GitHub và vẫn tăng — mattn/efm-langserver là dự án Go mà TopGit đang theo dõi trên nền tảng. General purpose Language Server
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
A general-purpose language server that adds LSP
support to traditional linters and formatters by acting as a proxy. Once
configured and set up for your editor
of choice, it calls those tools when triggered over LSP, translates their
output, and returns the result over LSP.
graph LR
E["EDITOR or IDE"] <== LSP ==> S(("`**efm-langserver**`"))
S <--> L["LINTER"]
S <--> F["FORMATTER"]
style S fill:orange,color:black
Here's efm-langserver in action:
Installation
Usage
Configuration
InitializeParams
Example for config.yaml
Example for DidChangeConfiguration notification
Client Setup
Configuration for vim-lsp
Configuration for coc.nvim
Configuration for Eglot (Emacs)
Configuration for neovim builtin LSP with nvim-lspconfig
Configuration for Helix
Configuration for VSCode
License
Author
Installation
go install github.com/mattn/efm-langserver@latest
or via Homebrew:
brew install efm-langserver
Termux (Android)
Plain Linux binaries do not work in Termux due to a Go runtime limitation
(golang/go#60125). Build with
the android target instead:
GOOS=android go install github.com/mattn/efm-langserver@latest
Usage
Usage of efm-langserver:
-c string
path to config.yaml
-d dump configuration
-logfile string
logfile
-loglevel int
loglevel (default 1)
-q Run quieter
-v Print the version
Configuration
Configuration can be done with either a config.yaml file, or through
a DidChangeConfiguration
notification from the client.
DidChangeConfiguration can be called any time and will overwrite only provided
properties.
DidChangeConfiguration only supports V2 configuration and cannot set LogFile.
efm-langserver does not include formatters/linters for any languages, you must install these manually,
e.g.
lua: LuaFormatter
python: yapf isort
vint for Vim script
markdownlint-cli for Markdown
etc...
InitializeParams
Because the configuration can be updated on the fly, capabilities might change
throughout the lifetime of the server. To enable support for capabilities that will
be available later, set them in the InitializeParams
mattn/efm-langserver thuộc nhóm Backend trên TopGit, cùng 4 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về mattn/efm-langserver ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/mattn/efm-langserver là nguồn chính thức.
mattn/efm-langserver có bao nhiêu sao?
mattn/efm-langserver có 1.6k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/mattn/efm-langserver. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
mattn/efm-langserver có phải mã nguồn mở không?
Có — mattn/efm-langserver phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/mattn/efm-langserver.
mattn/efm-langserver còn đang phát triển không?
Commit gần nhất trên mattn/efm-langserver là 5 ngày trước (theo timestamp GitHub). Repo có 64 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
mattn/efm-langserver dùng license gì?
mattn/efm-langserver phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
mattn/efm-langserver là gì?
mattn/efm-langserver (mattn/efm-langserver) là dự án Go trên GitHub. Theo mô tả gốc: General purpose Language Server
mattn/efm-langserver viết bằng ngôn ngữ gì?
mattn/efm-langserver chủ yếu viết bằng Go. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
efm-langserver có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về efm-langserver.