From 43af656a9e1325e76c69e6f5e694214156c278f1 Mon Sep 17 00:00:00 2001 From: Marcelo Date: Sun, 30 Mar 2025 04:26:45 -0300 Subject: Replace nvim-lspconfig and blink completion with NVIM 0.11 native options. --- lsp/odin.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lsp/odin.lua (limited to 'lsp/odin.lua') diff --git a/lsp/odin.lua b/lsp/odin.lua new file mode 100644 index 0000000..ee6ced4 --- /dev/null +++ b/lsp/odin.lua @@ -0,0 +1,17 @@ +return { + cmd = { "ols" }, + filetypes = { "odin" }, + root_markers = { "ols.json", ".git", "*.odin" }, + single_file_support = true, + init_options = { + checker_args = "-strict-style", + init_options = { + schema = "https://raw.githubusercontent.com/DanielGavin/ols/master/misc/odinfmt.schema.json", + checker_args = "-strict-style", + enable_semantic_tokens = false, + enable_document_symbols = true, + enable_hover = true, + enable_snippets = true, + }, + }, +} -- cgit v1.2.3