Updated config
This commit is contained in:
@ -46,9 +46,9 @@ return {
|
||||
event = "InsertEnter",
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"hrsh7th/cmp-buffer",
|
||||
"hrsh7th/cmp-path",
|
||||
"L3MON4D3/LuaSnip",
|
||||
-- "hrsh7th/cmp-buffer",
|
||||
-- "hrsh7th/cmp-path",
|
||||
-- "L3MON4D3/LuaSnip",
|
||||
},
|
||||
config = function()
|
||||
local cmp = require("cmp")
|
||||
@ -72,11 +72,11 @@ return {
|
||||
["<C-e>"] = cmp.mapping.abort(),
|
||||
["<cr>"] = cmp.mapping.confirm({ select = true }),
|
||||
},
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
require("luasnip").lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
-- snippet = {
|
||||
-- expand = function(args)
|
||||
-- require("luasnip").lsp_expand(args.body)
|
||||
-- end,
|
||||
-- },
|
||||
sources = {
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "luasnip" },
|
||||
|
@ -6,17 +6,7 @@ return {
|
||||
},
|
||||
opts = {
|
||||
servers = {
|
||||
denols = {
|
||||
filetypes = {
|
||||
"javascript",
|
||||
"typescript",
|
||||
"markdown",
|
||||
"json",
|
||||
},
|
||||
init_options = {
|
||||
lint = true,
|
||||
},
|
||||
},
|
||||
clangd = {},
|
||||
gopls = {},
|
||||
lua_ls = {
|
||||
settings = {
|
||||
@ -27,11 +17,6 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
--cssls = {},
|
||||
--html = {},
|
||||
--jsonls = {},
|
||||
--tsserver = {},
|
||||
--svelte = {},
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
|
8
.config/nvim/lua/plugins/notify.lua
Normal file
8
.config/nvim/lua/plugins/notify.lua
Normal file
@ -0,0 +1,8 @@
|
||||
return {
|
||||
"rcarriga/nvim-notify",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
background_colour = "#000000",
|
||||
},
|
||||
config = true,
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
return {
|
||||
"NvChad/nvterm",
|
||||
keys = {
|
||||
{ "<A-i>", "<cmd>lua require('nvterm.terminal').toggle('float')<cr>", mode = { "n", "t" }, desc = "Toggle terminal" },
|
||||
},
|
||||
config = true,
|
||||
}
|
@ -4,7 +4,7 @@ return {
|
||||
priority = 1000,
|
||||
opts = {
|
||||
style = "dark",
|
||||
transparent = false,
|
||||
transparent = true,
|
||||
term_colors = true,
|
||||
highlights = {
|
||||
["StatusLine"] = {fg = "$bg3", bg = "Normal"},
|
@ -1,7 +0,0 @@
|
||||
return {
|
||||
"nvim-pack/nvim-spectre",
|
||||
keys = {
|
||||
{ "<leader>sr", function() require("spectre").open() end, desc = "Replace in files (Spectre)" },
|
||||
},
|
||||
config = true,
|
||||
}
|
@ -39,7 +39,5 @@ return {
|
||||
width = 35,
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("nvim-tree").setup(opts)
|
||||
end,
|
||||
config = true,
|
||||
}
|
||||
|
@ -1,18 +0,0 @@
|
||||
return {
|
||||
"folke/trouble.nvim",
|
||||
event = "VeryLazy",
|
||||
keys = {
|
||||
{ "<leader>x", function() require("trouble").toggle() end, desc = "Show errors" },
|
||||
},
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
opts = {
|
||||
position = "right",
|
||||
padding = false,
|
||||
use_diagnostic_signs = true,
|
||||
auto_open = true,
|
||||
auto_close = true,
|
||||
},
|
||||
config = true,
|
||||
}
|
Reference in New Issue
Block a user