This commit is contained in:
2025-12-07 16:08:29 +01:00
parent 17e87a9c5f
commit 0b0499e07a
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -174,6 +174,7 @@ local file_specific = {
if not has_makefile() then if not has_makefile() then
vim.bo.makeprg = 'tcc -run %' vim.bo.makeprg = 'tcc -run %'
end end
vim.bo.expandtab = false
end, end,
cs = function() cs = function()
vim.bo.makeprg = "dotnet" vim.bo.makeprg = "dotnet"
+1 -1
View File
@@ -166,7 +166,7 @@ snippet ,,n "" Ai
\n \n
snippet foreacharr 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 $0
} }
snippet flags snippet flags
+1
View File
@@ -80,6 +80,7 @@ syntax on
tnoremap <c-w>c <c-\><c-n><c-w>c tnoremap <c-w>c <c-\><c-n><c-w>c
xnoremap H ^ xnoremap H ^
xnoremap L $ xnoremap L $
nnoremap Q @@
if has('clipboard') if has('clipboard')
set clipboard^=unnamed,unnamedplus set clipboard^=unnamed,unnamedplus