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",
|
||||
"astro",
|
||||
"tinymist",
|
||||
"ols",
|
||||
}
|
||||
|
||||
require("mason").setup()
|
||||
|
|
@ -135,6 +136,9 @@ return {
|
|||
group = format_sync_grp,
|
||||
})
|
||||
|
||||
-- Odin
|
||||
lspconfig.ols.setup({})
|
||||
|
||||
-- LSP Keybindings
|
||||
-- Global mappings.
|
||||
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ return {
|
|||
"luap",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"odin",
|
||||
"printf",
|
||||
"python",
|
||||
"query",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue