From f5ab2895ce7472369d5a5b069780db84549f6651 Mon Sep 17 00:00:00 2001 From: Constantine Luke Matthew Bubar Date: Wed, 18 Mar 2026 00:25:21 -0400 Subject: [PATCH] nvim config openscad --- .config/nvim/init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 5fde6296..06c192f6 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -225,15 +225,16 @@ pcall(vim.cmd, "source ~/.config/nvim/shortcuts.vim") -- local lspconfig = require'lspconfig' -- For Neovim versions before 0.11 --- These language servers are in pacman or the AUR with the same name as given below, unless otherwise noted. -vim.lsp.start({ +vim.lsp.start({ -- OpenSCAD LSP compatibility. Doesn't break anything but needs work. name = "openscad_lsp", cmd = { "/usr/bin/openscad-lsp" }, filetypes = { "scad" }, root_dir = vim.fs.dirname(vim.fs.find({ ".git" }, { upward = true })[1] or vim.api.nvim_buf_get_name(0)), }) +-- These language servers are in pacman or the AUR with the same name as given below, unless otherwise noted. + local servers = { --'server_name', -- Language name -- Pacman/AUR name 'pyright', -- Python -- pyright