File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Odin Language Pack
2+
3+ ** Requirements:** ` odin ` should be in your ` PATH ` to use the language server
4+
5+ This plugin pack does the following:
6+
7+ - Adds ` odin ` Treesitter parser
8+ - Adds [ ` ols ` ] ( https://github.com/DanielGavin/ols ) language server
9+ - Formatting is handled by ` odinfmt ` , which is bundled with ` ols `
Original file line number Diff line number Diff line change 1+ return {
2+ {
3+ " AstroNvim/astrocore" ,
4+ optional = true ,
5+ --- @type AstroCoreOpts
6+ opts = {
7+ treesitter = { ensure_installed = { " odin" } },
8+ },
9+ },
10+ {
11+ " WhoIsSethDaniel/mason-tool-installer.nvim" ,
12+ optional = true ,
13+ opts = function (_ , opts )
14+ opts .ensure_installed = require (" astrocore" ).list_insert_unique (opts .ensure_installed , { " ols" })
15+ end ,
16+ },
17+ {
18+ " mason-org/mason-lspconfig.nvim" ,
19+ optional = true ,
20+ opts = function (_ , opts )
21+ opts .ensure_installed = require (" astrocore" ).list_insert_unique (opts .ensure_installed , { " ols" })
22+ end ,
23+ },
24+ }
You can’t perform that action at this time.
0 commit comments