commit 69cec7206fa217940b7c6e8a55d9a139eae59efe
parent 2844553aa24f9ca20478bea9e99e2737e297a4e6
Author: Tomas Nemec <nemi@skaut.cz>
Date: Fri, 18 Nov 2022 15:32:13 +0100
update
Diffstat:
4 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/after/plugin/leap.lua b/after/plugin/leap.lua
@@ -3,7 +3,7 @@ if not pcall(require, 'leap') then
end
local leap = require('leap')
-leap.setup({ highlight_unlabeled_phase_one_targets = true })
+leap.opts.highlight_unlabeled_phase_one_targets = true
local default_highlights = function()
require('tms.colors').update(function(t)
diff --git a/after/plugin/ssr.lua b/after/plugin/ssr.lua
@@ -0,0 +1,3 @@
+if not pcall(require, 'ssr') then
+ return
+end
diff --git a/lua/plugins.lua b/lua/plugins.lua
@@ -133,6 +133,7 @@ return packer.startup({
use 'nvim-treesitter/playground'
use 'JoosepAlviste/nvim-ts-context-commentstring'
use 'lewis6991/nvim-treesitter-context'
+ use 'cshuaimin/ssr.nvim'
-- telescope
use {
diff --git a/plugin/diagnostic.lua b/plugin/diagnostic.lua
@@ -32,7 +32,7 @@ vim.keymap.set('n', 'gww', d.open, o('Diagnostic Open for Line'))
vim.keymap.set('n', 'gw.', d.open, o('Diagnostic Open for Line'))
vim.keymap.set('n', 'gwc', d.open_cursor, o('Diagnostic Open for Cursor'))
vim.keymap.set('n', 'gwl', d.ll, o('Diagnostic to Location List'))
-vim.keymap.set('n', 'gwq', d.ql, o('Diagnostic to Quickfix List'))
-vim.keymap.set('n', 'gwQ', d.ql_error, o('Diagnostic of Error to Quickfix List'))
+vim.keymap.set('n', 'gwq', d.ql_error, o('Diagnostic of Error to Quickfix List'))
+vim.keymap.set('n', 'gwQ', d.ql, o('Diagnostic to Quickfix List'))
vim.keymap.set('n', '<c-l><c-d>', d.next, o('Diagnostic Next'))
vim.keymap.set('n', '<c-h><c-d>', d.prev, o('Diagnostic Previous'))