From fcf8c83beb3f7cf371b1dc908381d986ae45a42a Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Thu, 28 Sep 2023 21:22:36 -0400 Subject: [PATCH] Moved overseer to it's own plugin file --- nvim/m-housh/lua/user/plugin/lsp.lua | 4 ++++ nvim/m-housh/lua/user/plugin/overseer.lua | 10 ++++++++++ nvim/m-housh/lua/user/plugins.lua | 4 +--- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 nvim/m-housh/lua/user/plugin/overseer.lua diff --git a/nvim/m-housh/lua/user/plugin/lsp.lua b/nvim/m-housh/lua/user/plugin/lsp.lua index 8cbc4d1..69ef89f 100644 --- a/nvim/m-housh/lua/user/plugin/lsp.lua +++ b/nvim/m-housh/lua/user/plugin/lsp.lua @@ -38,6 +38,7 @@ return { "hrsh7th/cmp-nvim-lsp", }, config = function() + require('neodev').setup() require("mason").setup() require("mason-lspconfig").setup() local nvim_lsp = require("lspconfig") @@ -109,6 +110,9 @@ return { gopls = {analyses = {unusedparams = false}, staticcheck = true}, lua_ls = { Lua = { + completion = { + callSnippet = "Replace" + }, workspace = { checkThirdParty = false }, telemetry = { enable = false }, } diff --git a/nvim/m-housh/lua/user/plugin/overseer.lua b/nvim/m-housh/lua/user/plugin/overseer.lua new file mode 100644 index 0000000..c6f9e3f --- /dev/null +++ b/nvim/m-housh/lua/user/plugin/overseer.lua @@ -0,0 +1,10 @@ +return { + 'stevearc/overseer.nvim', + dependencies = { + 'akinsho/toggleterm.nvim', + }, + opts = { + strategy = "toggleterm" + }, +} + diff --git a/nvim/m-housh/lua/user/plugins.lua b/nvim/m-housh/lua/user/plugins.lua index 727b5ab..ed8e524 100644 --- a/nvim/m-housh/lua/user/plugins.lua +++ b/nvim/m-housh/lua/user/plugins.lua @@ -24,9 +24,7 @@ require("lazy").setup({ { import = 'user.plugin.lualine' }, { import = 'user.plugin.neogit' }, { import = 'user.plugin.neo-tree' }, - { 'stevearc/overseer.nvim', opts = { - strategy = "toggleterm" - }}, + { import = 'user.plugin.overseer' }, { import = 'user.plugin.swift' }, { import = 'user.plugin.telescope' }, { import = 'user.plugin.theme' },