lsptimeout n stuff
This commit is contained in:
@ -156,6 +156,7 @@ module.exports = {
|
||||
"hyper-font-smoothing",
|
||||
"hyper-font-ligatures",
|
||||
"hypurr"
|
||||
// "hyper-aura-theme"
|
||||
],
|
||||
// in development, you can create a directory under
|
||||
// `~/.hyper_plugins/local/` and include it here
|
||||
|
@ -54,7 +54,7 @@ return {
|
||||
local cmp = require("cmp")
|
||||
|
||||
local conditionalSources = {
|
||||
{ name = "nvim_lsp", max_item_count = 5, priority = 8 },
|
||||
{ name = "nvim_lsp", max_item_count = 15, priority = 8 },
|
||||
{ name = "treesitter", max_item_count = 5, priority = 7 },
|
||||
{ name = "luasnip", max_item_count = 5, priority = 6 },
|
||||
{ name = "calc" },
|
||||
|
@ -99,13 +99,6 @@ return {
|
||||
end,
|
||||
lazy = false,
|
||||
},
|
||||
{
|
||||
"flwyd/vim-imp",
|
||||
lazy = false,
|
||||
keys = {
|
||||
{ "<leader>i", ":ImpSuggest <C-r><C-w><cr>" },
|
||||
},
|
||||
},
|
||||
{
|
||||
name = "ai.nvim",
|
||||
url = "sso://googler@user/vvvv/ai.nvim",
|
||||
|
6
vim/.vim/lua/plugins/imp.lua
Normal file
6
vim/.vim/lua/plugins/imp.lua
Normal file
@ -0,0 +1,6 @@
|
||||
return {
|
||||
"flwyd/vim-imp",
|
||||
keys = {
|
||||
{ "<leader>i", ":ImpSuggest <C-r><C-w><cr>" },
|
||||
},
|
||||
}
|
@ -7,13 +7,11 @@ return {
|
||||
require("lsp-lens").setup({
|
||||
enable = true,
|
||||
include_declaration = false, -- Reference include declaration
|
||||
sections = { -- Enable / Disable specific request
|
||||
sections = { -- Enable / Disable specific request, formatter example looks 'Format Requests'
|
||||
definition = false,
|
||||
references = true,
|
||||
implementation = true,
|
||||
},
|
||||
ignore_filetype = {
|
||||
"prisma",
|
||||
implements = true,
|
||||
git_authors = true,
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
@ -22,6 +22,10 @@ return {
|
||||
end,
|
||||
dependencies = { "rafamadriz/friendly-snippets" },
|
||||
},
|
||||
{
|
||||
"hinell/lsp-timeout.nvim",
|
||||
dependencies = { "neovim/nvim-lspconfig" },
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = deps,
|
||||
|
@ -3,10 +3,10 @@ return {
|
||||
event = "VimEnter",
|
||||
lazy = true,
|
||||
config = function()
|
||||
local colors = require("catppuccin.palettes").get_palette()
|
||||
-- local colors = require("catppuccin.palettes").get_palette()
|
||||
require("notify").setup({
|
||||
background_colour = colors.base,
|
||||
fps = 10, -- default 30
|
||||
-- background_colour = colors.base,
|
||||
fps = 20, -- default 30
|
||||
stages = "slide", -- default fade_in_slide_out
|
||||
timeout = 5000, -- default 5000
|
||||
})
|
||||
|
113
vim/.vim/lua/plugins/theme.lua
Normal file
113
vim/.vim/lua/plugins/theme.lua
Normal file
@ -0,0 +1,113 @@
|
||||
local use_google = require("utils").use_google
|
||||
|
||||
return {
|
||||
{
|
||||
"rebelot/kanagawa.nvim",
|
||||
lazy = use_google(), -- make sure we load this during startup if it is your main colorscheme
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
cond = not use_google(),
|
||||
cond = false,
|
||||
config = function()
|
||||
-- vim.cmd("colorscheme kanagawa")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nyoom-engineering/oxocarbon.nvim",
|
||||
lazy = use_google(), -- make sure we load this during startup if it is your main colorscheme
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
cond = not use_google(),
|
||||
config = function()
|
||||
vim.cmd("colorscheme oxocarbon")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"uloco/bluloco.nvim",
|
||||
dependencies = { "rktjmp/lush.nvim" },
|
||||
lazy = use_google(), -- make sure we load this during startup if it is your main colorscheme
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
cond = not use_google(),
|
||||
config = function()
|
||||
-- vim.cmd("colorscheme bluloco")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
lazy = not use_google(), -- make sure we load this during startup if it is your main colorscheme
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
cond = use_google(),
|
||||
config = function()
|
||||
vim.g.catppuccin_flavour = "macchiato" -- latte, frappe, macchiato, mocha
|
||||
local colors = require("catppuccin.palettes").get_palette()
|
||||
|
||||
require("catppuccin").setup({
|
||||
flavour = "macchiato",
|
||||
integrations = {
|
||||
cmp = true,
|
||||
-- coc_nvim = false,
|
||||
dashboard = true,
|
||||
-- fern = false,
|
||||
fidget = true,
|
||||
gitgutter = true,
|
||||
gitsigns = true,
|
||||
-- hop = false,
|
||||
-- illuminate = false,
|
||||
-- leap = false,
|
||||
-- lightspeed = false,
|
||||
-- lsp_saga = false,
|
||||
lsp_trouble = true,
|
||||
mason = true,
|
||||
markdown = true,
|
||||
-- neogit = false,
|
||||
-- neotest = false,
|
||||
neotree = true,
|
||||
notify = true,
|
||||
-- nvimtree = true,
|
||||
-- overseer = false,
|
||||
-- pounce = false,
|
||||
symbols_outline = true,
|
||||
telescope = true,
|
||||
treesitter = true,
|
||||
treesitter_context = false,
|
||||
-- ts_rainbow = false,
|
||||
-- vim_sneak = false,
|
||||
-- vimwiki = false,
|
||||
which_key = true,
|
||||
|
||||
-- Special integrations, see https://github.com/catppuccin/nvim#special-integrations
|
||||
dap = {
|
||||
enabled = false,
|
||||
enable_ui = false,
|
||||
},
|
||||
indent_blankline = {
|
||||
enabled = true,
|
||||
colored_indent_levels = false,
|
||||
},
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
virtual_text = {
|
||||
errors = { "italic" },
|
||||
hints = { "italic" },
|
||||
warnings = { "italic" },
|
||||
information = { "italic" },
|
||||
},
|
||||
underlines = {
|
||||
errors = { "underline" },
|
||||
hints = { "underline" },
|
||||
warnings = { "underline" },
|
||||
information = { "underline" },
|
||||
},
|
||||
},
|
||||
},
|
||||
custom_highlights = {
|
||||
Identifier = { fg = colors.lavender },
|
||||
Statement = { fg = colors.rosewater },
|
||||
-- Identifier = { fg = colors.sapphire },
|
||||
Function = { fg = colors.mauve },
|
||||
},
|
||||
})
|
||||
|
||||
vim.api.nvim_command("colorscheme catppuccin")
|
||||
end,
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user