Compare commits

...

2 commits

Author SHA1 Message Date
5ce8ca3f65
add gitui theme 2024-11-05 16:35:32 +01:00
e7171b5c84
autopairs config now calls correct function 2024-11-05 16:08:27 +01:00
2 changed files with 32 additions and 3 deletions

View file

@ -0,0 +1,27 @@
<! local palette = {
command_fg = "text",
selection_bg = "surface2",
cmdbar_bg = "mantle",
cmdbar_extra_lines_bg = "mantle",
disabled_fg = "overlay1",
diff_line_add = "green",
diff_line_delete = "red",
diff_file_added = "green",
diff_file_removed = "maroon",
diff_file_moved = "mauve",
diff_file_modified = "peach",
commit_hash = "lavender",
commit_time = "subtext1",
commit_author = "sapphire",
danger_fg = "red",
push_gauge_bg = "blue",
push_gauge_fg = "base",
tag_fg = "rosewater",
branch_fg = "teal",
} !>
(
selected_tab: Some("Reset"),
<! for k, v in pairs(palette) do !>
<% k %>: Some("#<% opt.catppuccin[v] %>"),
<! end !>
)

View file

@ -8,10 +8,12 @@ class PAutopairs implements IPlugin {
public function new() {}
public function init() {
Lua.require("nvim-autopairs").setup({
Lua.require("nvim-autopairs")[untyped "setup"]({
check_ts: true,
fast_wrap: {},
enable_check_bracket_line: false,
fast_wrap: {
map: "<M-e>",
cursor_pos_before: false,
},
});
Lua.require("cmp").event.on(