Adds odin support
This commit is contained in:
parent
1b5e9ee544
commit
8f44d496e9
3 changed files with 10 additions and 0 deletions
5
home/modules/nvim/config/after/ftplugin/odin.vim
Normal file
5
home/modules/nvim/config/after/ftplugin/odin.vim
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
setlocal expandtab
|
||||||
|
setlocal smartindent
|
||||||
|
setlocal tabstop=2
|
||||||
|
setlocal shiftwidth=2
|
||||||
|
setlocal conceallevel=2
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ return {
|
||||||
"luap",
|
"luap",
|
||||||
"markdown",
|
"markdown",
|
||||||
"markdown_inline",
|
"markdown_inline",
|
||||||
|
"odin",
|
||||||
"printf",
|
"printf",
|
||||||
"python",
|
"python",
|
||||||
"query",
|
"query",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue