neovim

Personal neovim configuration files
git clone git://gtms.dev:neovim
Log | Files | Refs

commit 4cf42804261f14172b65cbdc2d141dd6fe790ea8
parent 651314d87dad84c273f2c857fbfdcf2cf6c959b4
Author: Tomas Nemec <nemi@skaut.cz>
Date:   Fri, 16 Sep 2022 06:32:13 +0200

update

Diffstat:
Mafter/plugin/colorizer.lua | 11+++--------
Mafter/queries/html/injections.scm | 1+
Mlua/tms/keymap.lua | 1+
3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/after/plugin/colorizer.lua b/after/plugin/colorizer.lua @@ -1,15 +1,10 @@ if pcall(require, 'colorizer') then require'colorizer'.setup({ - filetypes = { 'css', 'scss', 'less' }, + filetypes = { '*' }, user_default_options = { - -- RGB = true, - -- RRGGBB = true, - -- RRGGBBAA = true, - -- names = true, - -- rgb_fn = true, - -- hsl_fn = true, - -- css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB + sass = { enable = true }, -- Enable sass colors + virtualtext = '■', mode = 'background', }, }) diff --git a/after/queries/html/injections.scm b/after/queries/html/injections.scm @@ -5,6 +5,7 @@ "*ngSwitch" "*ngModel" "*ngDisabled" + "*ngSwitchCase" )) ((attribute_name) @_input (#lua-match? @_input "%[.+]")) ((attribute_name) @_output (#lua-match? @_output "%(.+%)")) diff --git a/lua/tms/keymap.lua b/lua/tms/keymap.lua @@ -65,3 +65,4 @@ vim.keymap.set('n', '=.', '==', {}) vim.keymap.set('n', 'gc.', 'gcc', {}) vim.keymap.set('n', '<leader>D', '<cmd>!tree %:h<cr>', {}) +vim.keymap.set('x', '<leader>p', '"_dP', {}) -- paste and keep