mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(clang-format): better parameter alignment
This commit is contained in:
parent
fb38cd2748
commit
474158052c
2 changed files with 9 additions and 0 deletions
|
|
@ -3,6 +3,11 @@ local luasnip = require "luasnip"
|
|||
|
||||
require "luasnip.loaders.from_vscode".lazy_load({ paths = { "./snippets" } })
|
||||
|
||||
luasnip.config.set_config({
|
||||
region_check_events = 'InsertEnter',
|
||||
delete_check_events = 'InsertLeave'
|
||||
})
|
||||
|
||||
local has_words_before = function()
|
||||
unpack = unpack or table.unpack
|
||||
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue