Skip to content

Commit 28a3577

Browse files
committed
chore(lsp,lazy): update lazy spec, provide diagnostics help for missing fields
1 parent f73dfc2 commit 28a3577

4 files changed

Lines changed: 14 additions & 1 deletion

File tree

lazy-lock.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
66
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
77
"lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" },
8+
"lspconfig": { "branch": "master", "commit": "7ad4a11cc5742774877c529fcfb2702f7caf75e4" },
89
"mini": { "branch": "main", "commit": "3f5d06a6f710966cb93baaadc4897eeb6d6210e5" },
910
"render-markdown.nvim": { "branch": "main", "commit": "76f7ce56ccb913632745714f160faa53164c5574" },
1011
"snacks": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" },

lua/modules.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ autocmd("LspProgress", {
5252
---@param ev {data: {client_id: integer, params: lsp.ProgressParams}}
5353
callback = function(ev)
5454
local spinner = { "", "", "", "", "", "", "", "", "", "" }
55+
---@diagnostic disable-next-line: param-type-mismatch
5556
vim.notify(vim.lsp.status(), "info", {
5657
id = "lsp_progress",
5758
title = "LSP Progress",

lua/plugins/cpt.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,19 @@ return {
88
vim.cmd.colorscheme "catppuccin"
99
end,
1010
opts = {
11+
background = { light = "latte", dark = "mocha" },
1112
transparent_background = not vim.g.neovide,
1213
compile_path = vim.fn.stdpath "cache" .. "/catppuccin",
1314
compile = true,
15+
styles = {
16+
comments = { "italic" },
17+
functions = { "bold" },
18+
keywords = { "italic" },
19+
operators = { "bold" },
20+
conditionals = { "bold" },
21+
loops = { "bold" },
22+
booleans = { "bold", "italic" },
23+
},
1424
integrations = {
1525
snacks = {
1626
enabled = false,

lua/plugins/misc.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ return {
1414
event = { "BufReadPost", "BufNewFile" },
1515
keys = {
1616
require("mappings").map({ "n" }, "<leader>p", function()
17-
require("dropbar.api").pick(vim.v.count ~= 0 and vim.v.count)
17+
require("dropbar.api").pick(vim.v.count ~= 0 and vim.v.count or nil)
1818
end, "Toggle dropbar menu"),
1919
},
2020
opts = {},
@@ -30,6 +30,7 @@ return {
3030
"BufNewFile",
3131
},
3232
config = function()
33+
---@diagnostic disable-next-line: missing-fields
3334
require("nvim-treesitter.configs").setup {
3435
ensure_installed = { "lua", "vimdoc", "rust", "go", "astro", "json", "toml", "markdown" },
3536
highlight = {

0 commit comments

Comments
 (0)