This commit is contained in:
2026-03-11 13:34:29 +00:00
parent 671036416b
commit e12d425df5
4 changed files with 16 additions and 3 deletions

View File

@@ -26,7 +26,7 @@
{ {
event = "FileType"; event = "FileType";
group = "Christoph"; group = "Christoph";
pattern = "*.ex,*.exs,*.heex"; pattern = "elixir,eelixir,heex";
command = "setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2"; command = "setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2";
} }
]; ];

View File

@@ -321,13 +321,13 @@
{ {
mode = "n"; mode = "n";
key = "<leader>lj"; key = "<leader>lj";
action = ":lua vim.diagnostic.goto_next()<CR>"; action = ":lua vim.diagnostic.jump({ count = 1 })<CR>";
options.desc = "Next diagnostic"; options.desc = "Next diagnostic";
} }
{ {
mode = "n"; mode = "n";
key = "<leader>lk"; key = "<leader>lk";
action = ":lua vim.diagnostic.goto_prev()<CR>"; action = ":lua vim.diagnostic.jump({ count = -1 })<CR>";
options.desc = "Prev diagnostic"; options.desc = "Prev diagnostic";
} }
{ {

View File

@@ -10,8 +10,10 @@
list = false; list = false;
mouse = ""; mouse = "";
relativenumber = true; relativenumber = true;
scrolloff = 8;
shiftwidth = 2; shiftwidth = 2;
smartcase = true; smartcase = true;
undofile = true;
}; };
}; };
} }

View File

@@ -131,6 +131,15 @@
diff = {}; diff = {};
extra = {}; extra = {};
git = {}; git = {};
hipatterns = {
highlighters = {
fixme.__raw = "{ pattern = '%f[%w]()FIXME()%f[%W]', group = 'MiniHipatternsFixme' }";
hack.__raw = "{ pattern = '%f[%w]()HACK()%f[%W]', group = 'MiniHipatternsHack' }";
todo.__raw = "{ pattern = '%f[%w]()TODO()%f[%W]', group = 'MiniHipatternsTodo' }";
note.__raw = "{ pattern = '%f[%w]()NOTE()%f[%W]', group = 'MiniHipatternsNote' }";
hex_color.__raw = "require('mini.hipatterns').gen_highlighter.hex_color()";
};
};
icons = {}; icons = {};
indentscope = { indentscope = {
settings = { settings = {
@@ -149,8 +158,10 @@
}; };
}; };
move = {}; move = {};
notify = {};
pairs = {}; pairs = {};
pick = {}; pick = {};
splitjoin = {};
starter = {}; starter = {};
statusline = {}; statusline = {};
surround = {}; surround = {};