Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pmozil committed May 18, 2024
1 parent 821f161 commit f89340f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
Binary file added data/backgrounds/mafu_trad_wall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 12 additions & 12 deletions data/gitconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[user]
name = Petro Mozil
email = mozil.petryk@gmail.com
name = Petro Mozil
email = mozil.petryk@gmail.com

[alias]
ci = commit
Expand All @@ -11,20 +11,20 @@
st = status
logd = log --oneline --decorate

[url "ssh://git@gitlab.com/"]
insteadOf = https://gitlab.com/

[url "ssh://git@gitlab.freedesktop.org/"]
insteadOf = https://gitlab.freedesktop.org/
; [url "ssh://git@gitlab.com/"]
; insteadOf = https://gitlab.com/
;
; [url "ssh://git@gitlab.freedesktop.org/"]
; insteadOf = https://gitlab.freedesktop.org/

[url "ssh://git@github.com/"]
insteadOf = https://github.com/
insteadOf = https://github.com/

[color]
ui = auto

[sendemail]
smtpserver = smtp.gmail.com
smtpuser = mozil.petryk@gmail.com
smtpencryption = ssl
smtpserverport = 465
smtpserver = smtp.gmail.com
smtpuser = mozil.petryk@gmail.com
smtpencryption = ssl
smtpserverport = 465
4 changes: 3 additions & 1 deletion data/nvim/configs/conform.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require("conform").formatters["clang-format"] = {
command = "clang-gormat",
command = "clang-format",
prepend_args = { "-style=file:" .. os.getenv("HOME") .. "/.config/clang-format/conf" },
-- prepend_args = { "-style=file:~/.config/clang-format/conf" },
}

require("conform").setup({
Expand All @@ -10,6 +11,7 @@ require("conform").setup({
cpp = { "clang-format" },
sh = { "shfmt" },
},

format_on_save = {
lsp_fallback = false,
async = true,
Expand Down
1 change: 1 addition & 0 deletions data/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ end)
--
vim.cmd(":source ~/.config/nvim/nvim_init.vim")
require "configs.lspconfig"
-- require "configs.conform"

0 comments on commit f89340f

Please sign in to comment.