commit
This commit is contained in:
@ -23,6 +23,7 @@ return {
|
||||
-- dapui.close()
|
||||
-- end
|
||||
fn.sign_define("DapBreakpoint", { text = "", texthl = "ErrorMsg", linehl = "", numhl = "" })
|
||||
fn.sign_define("DapStopped", { text = "", texthl = "Changed", linehl = "debugPC", numhl = "" })
|
||||
|
||||
require("dapui").setup()
|
||||
require("dap-go").setup()
|
||||
|
34
lua/plugins/neodev.lua
Normal file
34
lua/plugins/neodev.lua
Normal file
@ -0,0 +1,34 @@
|
||||
return {
|
||||
"folke/lazydev.nvim",
|
||||
ft = "lua", -- only load on lua files
|
||||
opts = {
|
||||
library = {
|
||||
-- Library paths can be absolute
|
||||
"~/projects/my-awesome-lib",
|
||||
-- Or relative, which means they will be resolved from the plugin dir.
|
||||
"lazy.nvim",
|
||||
-- It can also be a table with trigger words / mods
|
||||
-- Only load luvit types when the `vim.uv` word is found
|
||||
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
|
||||
-- always load the LazyVim library
|
||||
"LazyVim",
|
||||
-- Only load the lazyvim library when the `LazyVim` global is found
|
||||
{ path = "LazyVim", words = { "LazyVim" } },
|
||||
-- Load the wezterm types when the `wezterm` module is required
|
||||
-- Needs `justinsgithub/wezterm-types` to be installed
|
||||
{ path = "wezterm-types", mods = { "wezterm" } },
|
||||
-- Load the xmake types when opening file named `xmake.lua`
|
||||
-- Needs `LelouchHe/xmake-luals-addon` to be installed
|
||||
{ path = "xmake-luals-addon/library", files = { "xmake.lua" } },
|
||||
},
|
||||
-- always enable unless `vim.g.lazydev_enabled = false`
|
||||
-- This is the default
|
||||
enabled = function(root_dir)
|
||||
return vim.g.lazydev_enabled == nil and true or vim.g.lazydev_enabled
|
||||
end,
|
||||
-- disable when a .luarc.json file is found
|
||||
enabled = function(root_dir)
|
||||
return not vim.uv.fs_stat(root_dir .. "/.luarc.json")
|
||||
end,
|
||||
},
|
||||
}
|
9
lua/plugins/notify.lua
Normal file
9
lua/plugins/notify.lua
Normal file
@ -0,0 +1,9 @@
|
||||
return {
|
||||
"rcarriga/nvim-notify",
|
||||
config = function()
|
||||
require("notify").setup({
|
||||
background_colour = "#000000",
|
||||
})
|
||||
vim.notify = require("notify")
|
||||
end,
|
||||
}
|
Reference in New Issue
Block a user