Skip to content

Commit fabcf33

Browse files
TomJo2000Freed-Wu
authored andcommitted
docs(configure): minor errata, and standardized config paths
- Emacs supports XDG_BASEDIRS since 27.1 https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00237.html - Vim supports XDG_BASEDIRS since 9.1.0327 vim/vim@c9df1fb
1 parent 3528b2f commit fabcf33

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

docs/resources/configure.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33
- For windows, change `~/.config` to `~/AppData/Local`
44
- For macOS, change `~/.config` to `~/Library`
55

6-
## (Neo)[Vim](https://www.vim.org)
7-
8-
For vim:
9-
10-
- Change `~/.config/nvim` to `~/.vim`
11-
- Change `init.vim` to `vimrc`
6+
## [Neovim](https://neovim.io) / [Vim](https://www.vim.org)
127

138
### [coc.nvim](https://github.com/neoclide/coc.nvim)
149

@@ -29,7 +24,8 @@ For vim:
2924

3025
### [vim-lsp](https://github.com/prabirshrestha/vim-lsp)
3126

32-
`~/.config/nvim/init.vim`:
27+
Neovim - `~/.config/nvim/init.vim`:\
28+
Vim - `~/.config/vim/vimrc`:
3329

3430
```vim
3531
if executable('termux-language-server')
@@ -63,9 +59,9 @@ vim.api.nvim_create_autocmd({ "BufEnter" }, {
6359

6460
## [Emacs](https://www.gnu.org/software/emacs)
6561

66-
`~/.emacs.d/init.el`:
62+
`~/.config/emacs/init.el`:
6763

68-
```lisp
64+
```elisp
6965
(make-lsp-client :new-connection
7066
(lsp-stdio-connection
7167
`(,(executable-find "termux-language-server")))
@@ -119,7 +115,7 @@ command = "termux-language-server"
119115

120116
## [Visual Studio Code](https://code.visualstudio.com/)
121117

122-
[An official support of generic LSP client is pending](https://github.com/microsoft/vscode/issues/137885).
118+
[Official support for generic LSP clients is pending](https://github.com/microsoft/vscode/issues/137885).
123119

124120
### [vscode-glspc](https://gitlab.com/ruilvo/vscode-glspc)
125121

0 commit comments

Comments
 (0)