From 01e80d152ec0d1eac537b86a29912e1f086f0af3 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Tue, 20 Dec 2022 13:49:14 -0500 Subject: [PATCH] fixup: add neodev and disable a bunch of servers by default --- .gitignore | 1 + init.lua | 16 +++++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index d699e1d..1b83131 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ tags test.sh .luarc.json nvim +plugin/packer_compiled.lua diff --git a/init.lua b/init.lua index ed0690d..7627e35 100644 --- a/init.lua +++ b/init.lua @@ -20,6 +20,9 @@ require('packer').startup(function(use) -- Useful status updates for LSP 'j-hui/fidget.nvim', + + -- Additional lua configuration, makes nvim stuff amazing + 'folke/neodev.nvim', }, } @@ -341,11 +344,11 @@ table.insert(runtime_path, 'lua/?/init.lua') -- Add any additional override configuration in the following tables. They will be passed to -- the `settings` field of the server config local servers = { - clangd = {}, - gopls = {}, - pyright = {}, - rust_analyzer = {}, - tsserver = {}, + -- clangd = {}, + -- gopls = {}, + -- pyright = {}, + -- rust_analyzer = {}, + -- tsserver = {}, sumneko_lua = { Lua = { @@ -360,6 +363,9 @@ local servers = { }, } +-- Setup neovim lua configuration +require('neodev').setup() + -- Setup mason so it can manage external tooling require('mason').setup()