From 21318127a36fd665f17792b3fc6139a42ba1b666 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sat, 6 Dec 2025 06:51:12 +0100 Subject: [PATCH] nvim: add sql stuff --- nvim/lua/user/lazy.lua | 1 + nvim/lua/user/plugins/lang/sql.lua | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 nvim/lua/user/plugins/lang/sql.lua diff --git a/nvim/lua/user/lazy.lua b/nvim/lua/user/lazy.lua index 8e616a3..813e3eb 100644 --- a/nvim/lua/user/lazy.lua +++ b/nvim/lua/user/lazy.lua @@ -33,6 +33,7 @@ require("lazy").setup({ { import = "user.plugins.lang.rust" }, { import = "user.plugins.lang.php" }, { import = "user.plugins.lang.css" }, + { import = "user.plugins.lang.sql" }, { import = "user.plugins.lang.javascript" }, { import = "user.plugins.lang.typescript" }, { import = "user.plugins.lang.vue" }, diff --git a/nvim/lua/user/plugins/lang/sql.lua b/nvim/lua/user/plugins/lang/sql.lua new file mode 100644 index 0000000..db1b01d --- /dev/null +++ b/nvim/lua/user/plugins/lang/sql.lua @@ -0,0 +1,18 @@ +local lspservers = { + sqlls = {} +} + +return { + { + "nvim-treesitter/nvim-treesitter", + opts = { + ensure_installed = { "sql" } + } + }, + { + "neovim/nvim-lspconfig", + opts = { + servers = lspservers + }, + } +}