https://github.com/honmaple/test-tailwindcss
https://github.com/honmaple/test-tailwindcss
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/honmaple/test-tailwindcss
- Owner: honmaple
- Created: 2025-01-23T11:41:14.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-31T16:27:03.000Z (over 1 year ago)
- Last Synced: 2025-09-05T05:46:02.415Z (10 months ago)
- Language: Emacs Lisp
- Size: 387 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Emacs LSP Test For TailwindCSS
1. 下载
```
git clone https://github.com/honmaple/test-tailwindcss
```
2. 安装依赖
```
cd test-tailwindcss
npm install
npm install -g @tailwindcss/language-server
```
3. 修改 `init-test.el`
```elisp
(defvar maple-lsp 'lsp-bridge)
;; (defvar maple-lsp 'eglot)
;; (defvar maple-lsp 'lsp-mode)
;; lsp-mode 需要执行 lsp-install-server
```
4. 设置 **lsp-bridge** 的 `load-path`和`lsp-bridge-python-command`
```
(setq lsp-bridge-python-command (expand-file-name "versions/lsp-bridge/bin/python3" (getenv "PYENV_ROOT")))
```
5. 测试
```
emacs -Q --load init-test.el
```
目前只有 **lsp-mode** 的补全生效
