Merge branch 'master' of github.com:roodletoof/dotfiles

This commit is contained in:
Ivar Fatland
2026-01-16 16:51:38 +01:00
3 changed files with 337 additions and 2 deletions
+3 -1
View File
@@ -75,6 +75,7 @@ vim.cmd [[
set wildignore=*.o,*.obj,.git/**,tags,*.pyc
set errorformat^=[----]\ %f:%l:\ %m
set errorformat^=%f\(%l:%c\)\ %m
]]
vim.keymap.set('n', ',cf', function()
@@ -182,7 +183,7 @@ local file_specific = {
vim.bo.errorformat = vim.bo.errorformat .. ",%\\s%#at\\ %m\\ in\\ %f:line\\ %l"
end,
python = function()
vim.bo.makeprg = 'basedpyright && python3.13 %'
vim.bo.makeprg = 'basedpyright'
end,
swift = function()
vim.bo.makeprg = 'swift'
@@ -193,6 +194,7 @@ local file_specific = {
end,
odin = function()
vim.bo.expandtab = false
vim.bo.makeprg = 'odin run .'
end
}
+1 -1
View File
@@ -9,7 +9,7 @@
(call_expression
function:
(selector_expression
field: (field_identifier) @_ident)(#any-of? @_ident "Exec")
field: (field_identifier) @_ident)(#any-of? @_ident "Exec" "Query" "QueryRow")
arguments: (
(argument_list (raw_string_literal (raw_string_literal_content) @injection.content)))
(#set! injection.language "sql")