latest
This commit is contained in:
@@ -174,6 +174,7 @@ local file_specific = {
|
||||
if not has_makefile() then
|
||||
vim.bo.makeprg = 'tcc -run %'
|
||||
end
|
||||
vim.bo.expandtab = false
|
||||
end,
|
||||
cs = function()
|
||||
vim.bo.makeprg = "dotnet"
|
||||
|
||||
@@ -166,7 +166,7 @@ snippet ,,n "" Ai
|
||||
\n
|
||||
|
||||
snippet foreacharr
|
||||
for (${1:type} *${2:item} = ${3:array}; ${2:item} < &${3:array}[${4:size}]; ${2:item}++) {
|
||||
for (${1:type} *${2:item} = (${3:array}); ${2:item} < &(${3:array})[${4:size}]; ${2:item}++) {
|
||||
$0
|
||||
}
|
||||
snippet flags
|
||||
|
||||
@@ -80,6 +80,7 @@ syntax on
|
||||
tnoremap <c-w>c <c-\><c-n><c-w>c
|
||||
xnoremap H ^
|
||||
xnoremap L $
|
||||
nnoremap Q @@
|
||||
|
||||
if has('clipboard')
|
||||
set clipboard^=unnamed,unnamedplus
|
||||
|
||||
Reference in New Issue
Block a user