初版。
This commit is contained in:
52
README.md
Normal file
52
README.md
Normal file
@@ -0,0 +1,52 @@
|
||||
# 💤 LazyVim
|
||||
|
||||
A starter template for [LazyVim](https://github.com/LazyVim/LazyVim).
|
||||
Refer to the [documentation](https://lazyvim.github.io/installation) to get started.
|
||||
|
||||
# 环境需求
|
||||
|
||||
环境需求在`LazyVim`官网都会有提到,这里简单记录一些细节。
|
||||
|
||||
一般都会用到几个**主要部分**:
|
||||
|
||||
- go
|
||||
- python
|
||||
- nodejs
|
||||
|
||||
**插件安装:**
|
||||
|
||||
| 插件名称 | 依赖语言 | 指令 |
|
||||
| ------------ | -------- | -------------------- |
|
||||
| prettier | nodejs | npm install prettier |
|
||||
| xmlformatter | python | mason中安装 |
|
||||
|
||||
**一些参考配置:**
|
||||
|
||||
```json
|
||||
// .prettierrc
|
||||
{
|
||||
"tabWidth": 4,
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.json",
|
||||
"options": {
|
||||
"tabWidth": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": "*.jsonc",
|
||||
"options": {
|
||||
"tabWidth": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": "*.cfg",
|
||||
"options": {
|
||||
"parser": "json",
|
||||
"tabWidth": 4
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user