From 4614b58ff7f2e4fb8baab5288ae6f5a799dd83af Mon Sep 17 00:00:00 2001 From: Nanderty Date: Tue, 29 Apr 2025 20:42:06 +0200 Subject: Fixes, us keylayout, execline --- lua/Snippets/tex/chemistry.lua | 10 ++++++++++ lua/Snippets/tex/math.lua | 2 +- lua/plugins/interface.lua | 2 ++ 3 files changed, 13 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/Snippets/tex/chemistry.lua b/lua/Snippets/tex/chemistry.lua index 69915a2..3f6b695 100644 --- a/lua/Snippets/tex/chemistry.lua +++ b/lua/Snippets/tex/chemistry.lua @@ -63,6 +63,16 @@ return { ) ), + s({ trig = 'xdt', snippetType = 'autosnippet' }, + fmta( + '\\ox*{<>,<>}', + { + i(1), + i(2), + } + ) + ), + s({ trig = 'cpnd', snippetType = 'autosnippet' }, fmta( '(\\cmpd{<>}, \\qty{<>}{\\gram}, \\qty{<>}{\\milli\\mol}, \\qty{<>}{\\equiv})', diff --git a/lua/Snippets/tex/math.lua b/lua/Snippets/tex/math.lua index 56b23ee..5e29b37 100644 --- a/lua/Snippets/tex/math.lua +++ b/lua/Snippets/tex/math.lua @@ -150,7 +150,7 @@ return { { condition = tex.in_mathzone } ), - s({ trig = 'ΓΆΓΆ', snippetType = 'autosnippet' }, + s({ trig = ';;', snippetType = 'autosnippet' }, fmta( '^{<>}', { diff --git a/lua/plugins/interface.lua b/lua/plugins/interface.lua index e293015..73de263 100644 --- a/lua/plugins/interface.lua +++ b/lua/plugins/interface.lua @@ -60,6 +60,8 @@ return { lualine_z = {}, }, }) + vim.api.nvim_set_hl(0, 'StatusLine', { bg = "NONE" }) + vim.api.nvim_set_hl(0, 'StatusLineNC', { bg = "NONE" }) end, }, { -- cgit v1.2.3