mirror of
https://github.com/mawww/kakoune.git
synced 2024-09-11 13:00:41 +03:00
Compare commits
2 Commits
374a7a8c99
...
80fcfebca8
Author | SHA1 | Date | |
---|---|---|---|
|
80fcfebca8 | ||
|
cbdd200e73 |
@ -28,7 +28,7 @@ define-command -params .. -docstring %{
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
$kak_opt_grepcmd "$@" 2>&1 | tr -d '\r'
|
$kak_opt_grepcmd "$@" 2>&1 | tr -d '\r'
|
||||||
} %arg{@}
|
} -- %arg{@}
|
||||||
set-option buffer filetype grep
|
set-option buffer filetype grep
|
||||||
set-option buffer jump_current_line 0
|
set-option buffer jump_current_line 0
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ define-command -params .. -docstring %{
|
|||||||
fifo -scroll -name *make* -script %{
|
fifo -scroll -name *make* -script %{
|
||||||
trap - INT QUIT
|
trap - INT QUIT
|
||||||
$kak_opt_makecmd "$@"
|
$kak_opt_makecmd "$@"
|
||||||
} %arg{@} # pass arguments for "$@" above, exit to avoid evaluating them
|
} -- %arg{@}
|
||||||
set-option buffer filetype make
|
set-option buffer filetype make
|
||||||
set-option buffer jump_current_line 0
|
set-option buffer jump_current_line 0
|
||||||
}
|
}
|
||||||
|
@ -753,7 +753,10 @@ private:
|
|||||||
{
|
{
|
||||||
auto node = compile_node<direction>(child);
|
auto node = compile_node<direction>(child);
|
||||||
if (child != index+1)
|
if (child != index+1)
|
||||||
m_program.instructions[--split_pos].param.split = CompiledRegex::Param::Split{.offset = offset(node, split_pos), .prioritize_parent = true};
|
{
|
||||||
|
--split_pos;
|
||||||
|
m_program.instructions[split_pos].param.split = {.offset = offset(node, split_pos), .prioritize_parent = true};
|
||||||
|
}
|
||||||
if (get_node(child).children_end != end)
|
if (get_node(child).children_end != end)
|
||||||
{
|
{
|
||||||
auto jump = push_inst(CompiledRegex::Jump);
|
auto jump = push_inst(CompiledRegex::Jump);
|
||||||
|
Loading…
Reference in New Issue
Block a user