small updates around the place
This commit is contained in:
parent
4413cd4960
commit
af4a920551
6 changed files with 38 additions and 27 deletions
|
@ -1,5 +1,14 @@
|
|||
local U = require("util")
|
||||
|
||||
return {
|
||||
"rest-nvim/rest.nvim",
|
||||
enabled = function()
|
||||
return U.cmd_executable("curl", {
|
||||
[false] = function()
|
||||
vim.notify("curl not installed, http rest disabled", 2)
|
||||
end,
|
||||
})
|
||||
end,
|
||||
event = "BufEnter *.http",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
opts = {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
-- This plugin will smartly highlight the token under the cursor.
|
||||
return {
|
||||
"RRethy/vim-illuminate",
|
||||
event = "BufEnter",
|
||||
opts = {},
|
||||
config = function(_, opts)
|
||||
require("illuminate").configure(opts)
|
||||
|
|
|
@ -113,6 +113,7 @@ local on_attach = function(client, bufnr)
|
|||
layout_config = { width = 0.25, height = 0.35 },
|
||||
}
|
||||
|
||||
nmap("<leader>lR", "<cmd>LspRestart<cr>", "Restart LSP")
|
||||
nmap("<leader>lr", vim.lsp.buf.rename, "[R]ename")
|
||||
nmap("<leader>la", vim.lsp.buf.code_action, "Code [A]ction")
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
return {
|
||||
"tpope/vim-surround",
|
||||
event = "BufEnter",
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
"catppuccin/nvim",
|
||||
opts = {
|
||||
-- flavour = "frappe", -- latte, frappe, macchiato, mocha (default)
|
||||
flavour = "mocha", -- latte, frappe, macchiato, mocha (default)
|
||||
color_overrides = {
|
||||
mocha = {
|
||||
-- My coal variant: https://gist.github.com/RingOfStorms/b2ff0c4e37f5be9f985c72c3ec9a3e62
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue