aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDamian Tarnawski <gthetarnav@gmail.com>2024-07-13 11:45:58 +0200
committerDamian Tarnawski <gthetarnav@gmail.com>2024-07-13 11:45:58 +0200
commit05a89a3718f4939fdcae5d3623c649c885239c56 (patch)
tree3079127bbb5eb9800d073171629c960260cb9099 /README.md
parentad0d4ef29aae075b00af10a4ab30f998898ed0e7 (diff)
Add missing code block languages in readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/README.md b/README.md
index b528c63..1bd929b 100644
--- a/README.md
+++ b/README.md
@@ -144,7 +144,7 @@ Install the package https://github.com/sublimelsp/LSP
Configuration of the LSP:
-```
+```json
{
"clients": {
"odin": {
@@ -177,7 +177,7 @@ Install [Coc](https://github.com/neoclide/coc.nvim).
Configuration of the LSP:
-```
+```json
{
"languageserver": {
"odin": {
@@ -185,7 +185,6 @@ Configuration of the LSP:
"filetypes": ["odin"],
"rootPatterns": ["ols.json"]
}
- }
}
```
@@ -205,7 +204,7 @@ lspconfig.ols.setup({})
### Emacs
-```
+```elisp
;; With odin-mode (https://github.com/mattt-b/odin-mode) and lsp-mode already added to your init.el of course!.
(setq-default lsp-auto-guess-root t) ;; if you work with Projectile/project.el this will help find the ols.json file.
(defvar lsp-language-id-configuration '((odin-mode . "odin")))