From af57904c6bcd10327e023cbc11464b265eb4d74b Mon Sep 17 00:00:00 2001 From: rootiest Date: Sat, 8 Feb 2025 21:15:02 -0500 Subject: [PATCH] move lazydev opts to types.lua --- lua/plugins/coding.lua | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index 789a63c..6f34038 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -24,17 +24,7 @@ return { }, { 'folke/lazydev.nvim', - opts = { - library = { - { path = 'luvit-meta/library', words = { 'vim%.uv' } }, - { path = 'LazyVim', words = { 'LazyVim' } }, - { path = 'snacks.nvim', words = { 'Snacks' } }, - { path = 'lazy.nvim', words = { 'LazyVim' } }, - -- Load the wezterm types when the `wezterm` module is required - -- Needs `justinsgithub/wezterm-types` to be installed - { path = 'wezterm-types', mods = { 'wezterm' } }, - }, - }, + opts = require('data.types').lazydev.opts, }, { -- G-code 'wilriker/gcode.vim',