Add .clang-tidy file and some other updates
This commit is contained in:
parent
96166882b2
commit
aa0a4d991a
|
@ -0,0 +1,23 @@
|
||||||
|
Checks: "*,
|
||||||
|
-abseil-*,
|
||||||
|
-altera-*,
|
||||||
|
-android-*,
|
||||||
|
-fuchsia-*,
|
||||||
|
-google-*,
|
||||||
|
-llvm*,
|
||||||
|
-zircon-*,
|
||||||
|
-bugprone-easily-swappable-parameters
|
||||||
|
-readability-identifier-length
|
||||||
|
-readability-avoid-const-params-in-decls,
|
||||||
|
-readability-magic-numbers
|
||||||
|
-bugprone-narrowing-conversions
|
||||||
|
-modernize-use-trailing-return-type
|
||||||
|
-cppcoreguidelines-pro-type-union-access
|
||||||
|
-modernize-use-nodiscard
|
||||||
|
-cppcoreguidelines-narrowing-conversions
|
||||||
|
-cppcoreguidelines-avoid-magic-numbers
|
||||||
|
-Wsign-compare
|
||||||
|
"
|
||||||
|
WarningsAsErrors: ''
|
||||||
|
HeaderFilterRegex: ''
|
||||||
|
FormatStyle: none
|
|
@ -137,6 +137,13 @@ keys.globalkeys = gears.table.join(
|
||||||
end,
|
end,
|
||||||
{description = "Open Firefox", group = "launcher"}
|
{description = "Open Firefox", group = "launcher"}
|
||||||
),
|
),
|
||||||
|
-- Lock the screen
|
||||||
|
awful.key({"Control", "Mod1"}, "l",
|
||||||
|
function()
|
||||||
|
awful.spawn('bash -c "i3lockr --blur 25"')
|
||||||
|
end,
|
||||||
|
{description = "Open Firefox", group = "launcher"}
|
||||||
|
),
|
||||||
-- Generate IMEC TOTP
|
-- Generate IMEC TOTP
|
||||||
awful.key({modkey}, "i",
|
awful.key({modkey}, "i",
|
||||||
function()
|
function()
|
||||||
|
|
|
@ -19,7 +19,7 @@ local awful = require("awful")
|
||||||
-- define default apps (global variable so other components can access it)
|
-- define default apps (global variable so other components can access it)
|
||||||
apps = {
|
apps = {
|
||||||
terminal = 'bash -c "WINIT_X11_SCALE_FACTOR=1 alacritty"',
|
terminal = 'bash -c "WINIT_X11_SCALE_FACTOR=1 alacritty"',
|
||||||
lock = "i3lock",
|
launcher = "/home/user/.toggle_rofi.sh",
|
||||||
screenshot = "scrot -e 'mv $f ~/Pictures/Screenshots/ 2>/dev/null'",
|
screenshot = "scrot -e 'mv $f ~/Pictures/Screenshots/ 2>/dev/null'",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -112,8 +112,15 @@ require('lspconfig').clangd.setup {
|
||||||
"clangd",
|
"clangd",
|
||||||
"--background-index",
|
"--background-index",
|
||||||
"--clang-tidy",
|
"--clang-tidy",
|
||||||
|
"-j=8",
|
||||||
|
"--clang-tidy-checks=*",
|
||||||
|
"--all-scopes-completion",
|
||||||
"--completion-style=bundled",
|
"--completion-style=bundled",
|
||||||
"--cross-file-rename"
|
"--cross-file-rename",
|
||||||
|
"--completion-style=detailed",
|
||||||
|
"--header-insertion-decorators",
|
||||||
|
"--header-insertion=iwyu",
|
||||||
|
"--pch-storage=memory"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,3 +31,5 @@ Ctheah
|
||||||
TODO
|
TODO
|
||||||
artifacts
|
artifacts
|
||||||
stochasticity
|
stochasticity
|
||||||
|
playthrough
|
||||||
|
StateManager
|
||||||
|
|
Loading…
Reference in New Issue