Adds odin support

This commit is contained in:
Dennis Schoepf 2025-02-26 22:53:58 +01:00
parent 1b5e9ee544
commit 8f44d496e9
3 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,5 @@
setlocal expandtab
setlocal smartindent
setlocal tabstop=2
setlocal shiftwidth=2
setlocal conceallevel=2

View file

@ -33,6 +33,7 @@ return {
"gopls", "gopls",
"astro", "astro",
"tinymist", "tinymist",
"ols",
} }
require("mason").setup() require("mason").setup()
@ -135,6 +136,9 @@ return {
group = format_sync_grp, group = format_sync_grp,
}) })
-- Odin
lspconfig.ols.setup({})
-- LSP Keybindings -- LSP Keybindings
-- Global mappings. -- Global mappings.
-- See `:help vim.diagnostic.*` for documentation on any of the below functions -- See `:help vim.diagnostic.*` for documentation on any of the below functions

View file

@ -21,6 +21,7 @@ return {
"luap", "luap",
"markdown", "markdown",
"markdown_inline", "markdown_inline",
"odin",
"printf", "printf",
"python", "python",
"query", "query",