feat: add loading options for WezTerm types support
This commit is contained in:
+14
-30
@@ -8,9 +8,7 @@ local data = require("data")
|
|||||||
return {
|
return {
|
||||||
{ -- Mason-lspconfig
|
{ -- Mason-lspconfig
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
opts = {
|
opts = data.types.mason_lsp_config.opts,
|
||||||
automatic_installation = true,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{ -- luasnip
|
{ -- luasnip
|
||||||
import = "lazyvim.plugins.extras.coding.luasnip",
|
import = "lazyvim.plugins.extras.coding.luasnip",
|
||||||
@@ -28,23 +26,7 @@ return {
|
|||||||
},
|
},
|
||||||
{ -- Yanky
|
{ -- Yanky
|
||||||
"gbprod/yanky.nvim",
|
"gbprod/yanky.nvim",
|
||||||
opts = {
|
opts = data.types.yanky,
|
||||||
system_clipboard = {
|
|
||||||
sync_with_ring = true,
|
|
||||||
clipboard_register = '"',
|
|
||||||
},
|
|
||||||
highlight = {
|
|
||||||
on_put = true,
|
|
||||||
on_yank = true,
|
|
||||||
timer = 500,
|
|
||||||
},
|
|
||||||
preserve_cursor_position = {
|
|
||||||
enabled = true,
|
|
||||||
},
|
|
||||||
textobj = {
|
|
||||||
enabled = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{ -- VSCode
|
{ -- VSCode
|
||||||
import = "lazyvim.plugins.extras.vscode",
|
import = "lazyvim.plugins.extras.vscode",
|
||||||
@@ -52,6 +34,16 @@ return {
|
|||||||
{ -- Neogen
|
{ -- Neogen
|
||||||
import = "lazyvim.plugins.extras.coding.neogen",
|
import = "lazyvim.plugins.extras.coding.neogen",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"folke/lazydev.nvim",
|
||||||
|
opts = {
|
||||||
|
library = {
|
||||||
|
-- Load the wezterm types when the `wezterm` module is required
|
||||||
|
-- Needs `justinsgithub/wezterm-types` to be installed
|
||||||
|
{ path = "wezterm-types", mods = { "wezterm" } },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
{ -- G-code
|
{ -- G-code
|
||||||
"wilriker/gcode.vim",
|
"wilriker/gcode.vim",
|
||||||
},
|
},
|
||||||
@@ -73,19 +65,11 @@ return {
|
|||||||
opts = data.types.substitute,
|
opts = data.types.substitute,
|
||||||
keys = data.keys.substitute,
|
keys = data.keys.substitute,
|
||||||
},
|
},
|
||||||
{ -- Markdown Preview
|
|
||||||
"iamcco/markdown-preview.nvim",
|
|
||||||
build = "cd app && yarn install",
|
|
||||||
},
|
|
||||||
{ -- Comment
|
{ -- Comment
|
||||||
"numToStr/Comment.nvim",
|
"numToStr/Comment.nvim",
|
||||||
opts = {
|
opts = data.types.comment,
|
||||||
opleader = {
|
|
||||||
line = "gC",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{ -- Fast Action
|
||||||
"Chaitanyabsprip/fastaction.nvim",
|
"Chaitanyabsprip/fastaction.nvim",
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -62,10 +62,11 @@ return {
|
|||||||
event = "BufReadPre",
|
event = "BufReadPre",
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
-- { -- DeadColumn
|
{ -- DeadColumn
|
||||||
-- "Bekaboo/deadcolumn.nvim",
|
"Bekaboo/deadcolumn.nvim",
|
||||||
-- event = "BufEnter",
|
event = "BufEnter",
|
||||||
-- },
|
cond = data.func.check_global_var("dead_column", true, true),
|
||||||
|
},
|
||||||
{ -- Precognition
|
{ -- Precognition
|
||||||
"tris203/precognition.nvim",
|
"tris203/precognition.nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
@@ -87,6 +88,7 @@ return {
|
|||||||
{ -- Smart Scrolloff
|
{ -- Smart Scrolloff
|
||||||
"tonymajestro/smart-scrolloff.nvim",
|
"tonymajestro/smart-scrolloff.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
cond = data.func.check_global_var("smart_scrolloff", true, true),
|
||||||
opts = data.types.smartscrolloff,
|
opts = data.types.smartscrolloff,
|
||||||
},
|
},
|
||||||
{ -- Recorder
|
{ -- Recorder
|
||||||
|
|||||||
@@ -69,4 +69,11 @@ return {
|
|||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{ -- Markdown Preview
|
||||||
|
"iamcco/markdown-preview.nvim",
|
||||||
|
build = "cd app && yarn install",
|
||||||
|
},
|
||||||
|
{ -- WezTerm Types
|
||||||
|
"justinsgithub/wezterm-types",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user