diff options
| author | Damian Tarnawski <gthetarnav@gmail.com> | 2024-07-13 11:45:58 +0200 |
|---|---|---|
| committer | Damian Tarnawski <gthetarnav@gmail.com> | 2024-07-13 11:45:58 +0200 |
| commit | 05a89a3718f4939fdcae5d3623c649c885239c56 (patch) | |
| tree | 3079127bbb5eb9800d073171629c960260cb9099 /README.md | |
| parent | ad0d4ef29aae075b00af10a4ab30f998898ed0e7 (diff) | |
Add missing code block languages in readme
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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"))) |