- repo name change and readme change
- removed markdownlint config args as it is no longer a arg. thanks markdownlint-cli2. love changing my workflow :> - play pause bind for i3
This commit is contained in:
parent
b2aa06f910
commit
b38cd5c376
|
@ -1,7 +1,6 @@
|
||||||
# hi
|
# hi
|
||||||
|
|
||||||
this is just some configs and stuffs i decided to put on my github.
|
this has my dotfiles as well as quite a few scripts and other stuff
|
||||||
eg my dotfiles
|
|
||||||
|
|
||||||
- current os Artix linux (btw)
|
- current os Artix linux (btw)
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,8 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause && $refresh_i3status
|
||||||
|
|
||||||
|
|
||||||
# swap caps lock and escape
|
# swap caps lock and escape
|
||||||
exec_always --no-startup-id xmodmap -e "clear lock"
|
exec_always --no-startup-id xmodmap -e "clear lock"
|
||||||
|
|
|
@ -1,14 +1,7 @@
|
||||||
local ok, lint = pcall(require, 'lint')
|
local ok, lint = pcall(require, 'lint')
|
||||||
if ok then
|
if ok then
|
||||||
lint.linters_by_ft = {
|
lint.linters_by_ft = {
|
||||||
markdown = { 'markdownlint-cli2' },
|
markdown = { "markdownlint" },
|
||||||
}
|
|
||||||
|
|
||||||
-- ive spent like 3 hours getting this to work
|
|
||||||
local markdownlint = lint.linters['markdownlint-cli2']
|
|
||||||
markdownlint.args = {
|
|
||||||
"--config", vim.fn.expand("~/.markdownlint.yaml"),
|
|
||||||
"--",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
||||||
|
|
|
@ -154,7 +154,7 @@ if ok then
|
||||||
})
|
})
|
||||||
require('mason-lspconfig').setup({
|
require('mason-lspconfig').setup({
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
--"markdownlint-cli2",
|
--"markdownlint",
|
||||||
--"markdown-toc",
|
--"markdown-toc",
|
||||||
"bashls",
|
"bashls",
|
||||||
"clangd",
|
"clangd",
|
||||||
|
|
|
@ -2,7 +2,7 @@ local ok, null_ls = pcall(require, 'null-ls')
|
||||||
if ok then
|
if ok then
|
||||||
null_ls.setup({
|
null_ls.setup({
|
||||||
sources = {
|
sources = {
|
||||||
null_ls.builtins.diagnostics.markdownlint_cli2,
|
null_ls.builtins.diagnostics.markdownlint,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
MD013: false # max line length
|
|
||||||
MD007: false # ul indendtation
|
|
||||||
MD025: false # single h1 title
|
|
||||||
# i like no spaces around headings
|
|
||||||
MD022: false # spacing around heading
|
|
||||||
MD032: false # spacing before lines
|
|
||||||
MD012:
|
|
||||||
maximum: 2 # maximum blank lines
|
|
Loading…
Reference in New Issue