Add neodev.nvim

Mon, 13 Mar 2023 17:54:44 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 13 Mar 2023 17:54:44 -0500
changeset 1084
76588dcdb04a
parent 1083
cc48b040ddbb
child 1085
c2d11f022cf0

Add neodev.nvim

.config/nvim/lua/plugins/lsp.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/plugins/lsp.lua
+++ b/.config/nvim/lua/plugins/lsp.lua
@@ -1,5 +1,5 @@
 return {
-  -- mason is nonlazy so my executable tests works
+  -- mason is nonlazy so my executable tests work
   { "williamboman/mason.nvim", config = true },
 
   {
@@ -7,9 +7,11 @@ return {
     event = { "BufReadPre", "BufNewFile" },
     dependencies = {
       "williamboman/mason-lspconfig.nvim",
+      "folke/neodev.nvim",
       { "j-hui/fidget.nvim", config = true },
     },
-    config = function(plugin, opts)
+    config = function(_, _)
+      require("neodev").setup({})
       require("mason-lspconfig").setup()
       require("mason-lspconfig").setup_handlers({
         function(server)

mercurial