[nvim] Fix flash triggering at quicklist; Fix theme highlighting for extension methods;
This commit is contained in:
1 parent
463cdf8805
commit
84d43eaaaf
2 files changed
+14
No files matched your search
@@ -99,3 +99,14 @@ end
|
|||||||
|
|
||||||
vim.api.nvim_create_user_command("FloatingTerminal", toggle_terminal, {})
|
vim.api.nvim_create_user_command("FloatingTerminal", toggle_terminal, {})
|
||||||
vim.keymap.set({ "n", "t" }, "<leader>tt", toggle_terminal, { desc = "Toggle floating terminal" })
|
vim.keymap.set({ "n", "t" }, "<leader>tt", toggle_terminal, { desc = "Toggle floating terminal" })
|
||||||
|
|
||||||
|
-- Make flash.nvim not trigger in quicklist buffers
|
||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
pattern = "qf",
|
||||||
|
callback = function(event)
|
||||||
|
vim.keymap.set("n", "<CR>", function()
|
||||||
|
local info = vim.fn.getwininfo(vim.api.nvim_get_current_win())[1]
|
||||||
|
vim.cmd(info.loclist == 1 and ".ll" or ".cc")
|
||||||
|
end, { buffer = event.buf, desc = "Open list entry" })
|
||||||
|
end,
|
||||||
|
})
|
||||||
@@ -1 +1,4 @@
|
|||||||
vim.cmd.colorscheme("vscode")
|
vim.cmd.colorscheme("vscode")
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "@lsp.type.extensionMethod", { link = "@function.method" })
|
||||||
|
vim.api.nvim_set_hl(0, "@lsp.type.extensionMethod.cs", { link = "@function.method" })
|
||||||
Reference in new issue
Block a user