aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorOxbian <oxbian@mailbox.org>2025-02-04 19:34:35 -0500
committerOxbian <oxbian@mailbox.org>2025-02-04 19:34:35 -0500
commit14779f654194f86b3cec6d89e3fef9e792d29026 (patch)
tree4967fb59a7d73883156fc0673bf2c17ce1d6ef7c /README.md
parente65597837ec3057989f6bc67d90e5c10d4f3d14e (diff)
downloadvimrc-14779f654194f86b3cec6d89e3fef9e792d29026.tar.gz
vimrc-14779f654194f86b3cec6d89e3fef9e792d29026.zip
feat: working + clean linter/fixer/completion/LSP
Diffstat (limited to 'README.md')
-rw-r--r--README.md47
1 files changed, 17 insertions, 30 deletions
diff --git a/README.md b/README.md
index 06617f7..8b532c1 100644
--- a/README.md
+++ b/README.md
@@ -33,8 +33,7 @@ files with git.
### LSP
-- [CoC](https://github.com/neoclide/coc.nvim) a LSP plugin that work like VsCode
-LSP, and in Node (yeah I don't like it too but no choice...).
+- [ALE](https://github.com/dense-analysis) linters, fixers, completion & LSP
## Command & keybinds
@@ -109,9 +108,9 @@ Keybinds:
Hunks are the difference between your file and the git file.
-### Coc (Linter, Formatter, Snippets)
+### ALE (Linter, fixers, completion, LSP)
-For help, use `:help coc`.
+For help, use `:help ALE`.
Key binds:
- `<leader>gd` go to the definition,
@@ -126,41 +125,29 @@ Key binds:
## Snippets
-To have snippets autocompletion, I use Coc snippets settings.
-The `install.sh` script add the `coc-settings.json` file to the right place for
-having all snippets filepath configured.
+TODO in ALE
-Moreover, you'll need to install in vim a Coc Extension:
+## Linters / fixers & LSP
-```vim
-:CocInstall coc-snippets
-```
+Linters and fixers needed to be installed for each language used.
-## Linters & fixers
+### Python
-The following table shows the extensions I use for linting.
-You can install them with
+For python, you need to have [python-lsp-server](https://github.com/python-lsp/python-lsp-server).
+
+It can be system wide, or just in a virtualenv.
-```vim
-:CocInstall <extension>
+```bash
+python3 -m venv .venv
+source .venv/bin/activate
+pip install pyton-lsp-server[all]
```
-| Language | Coc Extension |
-|:----------:|:----------------:|
-| JSON | coc-json |
-| Markdown | coc-markdownlint |
-| PHP | coc-phpls |
-| HTML | coc-html |
-| CSS | coc-css |
-| Javascript | coc-tsserver |
-
## Formatter
-By default my `coc-settings.json` add autoformatting on save on each filetype,
-you just need a LSP server for the filetype.
-
-But if it's not working you could use vim formatting `ggvG=`, `=` is vim command
-for formatting text.
+By default my config add autoformatting on save on each filetype, you just need a LSP server for the filetype.
+
+But if it's not working you could use vim formatting `ggvG=`, `=` is vim command for formatting text.
## VM
ArKa projects. All rights to me, and your next child right arm.