Compare commits

...

3 Commits

Author SHA1 Message Date
d778a22a6c updated version for pre-commit hook 2026-05-09 11:14:07 -06:00
acb75bff40 added pre-commit and secrets check 2026-05-09 11:12:51 -06:00
94b2c40db1 added markdown preview plugin 2026-03-25 10:59:06 -06:00
4 changed files with 640 additions and 15 deletions

20
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,20 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']
exclude: lazy-lock.json
- repo: https://github.com/JohnnyMorganz/StyLua
rev: v2.4.1
hooks:
- id: stylua

589
.secrets.baseline Normal file
View File

@@ -0,0 +1,589 @@
{
"version": "1.5.0",
"plugins_used": [
{
"name": "ArtifactoryDetector"
},
{
"name": "AWSKeyDetector"
},
{
"name": "AzureStorageKeyDetector"
},
{
"name": "Base64HighEntropyString",
"limit": 4.5
},
{
"name": "BasicAuthDetector"
},
{
"name": "CloudantDetector"
},
{
"name": "DiscordBotTokenDetector"
},
{
"name": "GitHubTokenDetector"
},
{
"name": "GitLabTokenDetector"
},
{
"name": "HexHighEntropyString",
"limit": 3.0
},
{
"name": "IbmCloudIamDetector"
},
{
"name": "IbmCosHmacDetector"
},
{
"name": "IPPublicDetector"
},
{
"name": "JwtTokenDetector"
},
{
"name": "KeywordDetector",
"keyword_exclude": ""
},
{
"name": "MailchimpDetector"
},
{
"name": "NpmDetector"
},
{
"name": "OpenAIDetector"
},
{
"name": "PrivateKeyDetector"
},
{
"name": "PypiTokenDetector"
},
{
"name": "SendGridDetector"
},
{
"name": "SlackDetector"
},
{
"name": "SoftlayerDetector"
},
{
"name": "SquareOAuthDetector"
},
{
"name": "StripeDetector"
},
{
"name": "TelegramBotTokenDetector"
},
{
"name": "TwilioKeyDetector"
}
],
"filters_used": [
{
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
},
{
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
"min_level": 2
},
{
"path": "detect_secrets.filters.heuristic.is_indirect_reference"
},
{
"path": "detect_secrets.filters.heuristic.is_likely_id_string"
},
{
"path": "detect_secrets.filters.heuristic.is_lock_file"
},
{
"path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string"
},
{
"path": "detect_secrets.filters.heuristic.is_potential_uuid"
},
{
"path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign"
},
{
"path": "detect_secrets.filters.heuristic.is_sequential_string"
},
{
"path": "detect_secrets.filters.heuristic.is_swagger_file"
},
{
"path": "detect_secrets.filters.heuristic.is_templated_secret"
}
],
"results": {
".gitlab-ci.yml": [
{
"type": "Secret Keyword",
"filename": ".gitlab-ci.yml",
"hashed_secret": "5ffe533b830f08a0326348a9160afafc8ada44db",
"is_verified": false,
"line_number": 17
}
],
"README.md": [
{
"type": "Secret Keyword",
"filename": "README.md",
"hashed_secret": "6d9c68c603e465077bdd49c62347fe54717f83a3",
"is_verified": false,
"line_number": 55
},
{
"type": "Basic Auth Credentials",
"filename": "README.md",
"hashed_secret": "9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684",
"is_verified": false,
"line_number": 68
}
],
"lazy-lock.json": [
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "3af1f0716a64d25be23ef3cf43648e5e476b6c35",
"is_verified": false,
"line_number": 2
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "a6cd36a945ae41022cf8fd0efc0f523490fbc8c4",
"is_verified": false,
"line_number": 3
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "3954c288d09f52eb9b230c1eff653d9442c5b1c3",
"is_verified": false,
"line_number": 4
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "834a80d9a9a8b2bc96a3d8bf2fe57670fb9b6fd9",
"is_verified": false,
"line_number": 5
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "6f4495f1dc02bda238cec4f27014054c0c2e641c",
"is_verified": false,
"line_number": 6
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "af9200fda20d54f77643da81a8bc6dee8f8bdafb",
"is_verified": false,
"line_number": 7
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "a05794a478a7b2c50f9411b5aa3e61ca7995c00e",
"is_verified": false,
"line_number": 8
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "b34e425d01ca323c0c9518dc1872d9c000950ded",
"is_verified": false,
"line_number": 9
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "f603c5b7b85d947c6b27028859833b28c7c4f6b9",
"is_verified": false,
"line_number": 10
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "98d8da1a19f260ac98e1ac7520131c4d004a94c1",
"is_verified": false,
"line_number": 11
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "5b84c6ace33b445bf8154ec11bc0572b4e7cb9c5",
"is_verified": false,
"line_number": 12
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "05e1c6cb1f70c2b1760a0fd48fbbac03093f7388",
"is_verified": false,
"line_number": 13
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "9c1302a2faec1ab7af60d67653ea5c2fed8815ef",
"is_verified": false,
"line_number": 14
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "96cc789a527f8268d2cca9569b4226d76810b6e9",
"is_verified": false,
"line_number": 15
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "ede99b25244352245ad067502329795469d2736b",
"is_verified": false,
"line_number": 16
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "b4035e21e845f317416c0b2ff364166eea340df9",
"is_verified": false,
"line_number": 17
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "5bb4648c4b8d90a196beb1cfe0913426e8c0570b",
"is_verified": false,
"line_number": 18
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "4052a854964a9f785a09988a47f6b05953b48120",
"is_verified": false,
"line_number": 19
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "1b392c86b55466213daa298f3a0757064b1bd4d7",
"is_verified": false,
"line_number": 20
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "13a42f8a6aaad30c842a3cb25d50a3c00dc1b251",
"is_verified": false,
"line_number": 21
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "7c333072524443dbfebd9108e64e91bb3494bf9b",
"is_verified": false,
"line_number": 22
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "ee156b6bb148f64db9dba27d63bc9f53e64c492d",
"is_verified": false,
"line_number": 23
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "06eb4a69635c6b8729c82c60674fac6c2f1b0c33",
"is_verified": false,
"line_number": 24
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "6173dccc123e0da423cce524abeb12e6f1faa6b8",
"is_verified": false,
"line_number": 25
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "667b60cbb863e5407c913e072a1d42395496e529",
"is_verified": false,
"line_number": 26
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "d849531474d4ae1c55f7a09161d82f22b2fac508",
"is_verified": false,
"line_number": 27
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "5a1a30d97742ada0ecf3565220ed861969a5a7d0",
"is_verified": false,
"line_number": 28
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "96826113d3e2f26d3bf477f968be022fb4d2f17b",
"is_verified": false,
"line_number": 29
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "b04db8de0d2dbeee436a6d2addd57ca5e468853a",
"is_verified": false,
"line_number": 30
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "5bb079e4bc2f5177c0db0564407350b1f5186100",
"is_verified": false,
"line_number": 31
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "99da4574e023c99b0ab94317a83a788aaafd3fc0",
"is_verified": false,
"line_number": 32
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "4d9e8162c92d31d9e85d348bb727da8694bbd19a",
"is_verified": false,
"line_number": 33
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "4d214cee281b241ca2f213f9e8aeae69c3f62a7c",
"is_verified": false,
"line_number": 34
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "b236422addddccca25bfadbeb1a86e3bc97dd50a",
"is_verified": false,
"line_number": 35
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "50fe46c2dd7cc2da2d829db7eddb28247bffb684",
"is_verified": false,
"line_number": 36
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "4151960bc1ea09bca7f709e03c782845ac4bc064",
"is_verified": false,
"line_number": 37
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "dd90ab427819a4a57c6a36511597828cfe984246",
"is_verified": false,
"line_number": 38
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "0f305546e18dacf3cdc13e231aa122d35d72578b",
"is_verified": false,
"line_number": 39
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "50878928df5e3a18e753bf59c72c340381763506",
"is_verified": false,
"line_number": 40
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "afc7b8f889a5bd08a5cdc4bf7463187b719df8d3",
"is_verified": false,
"line_number": 41
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "683f0518650b41601ae367abfcee9c4883c9f6a3",
"is_verified": false,
"line_number": 42
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "f5a85768c2fb9cd32cbd893b504f70231ead0302",
"is_verified": false,
"line_number": 43
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "f85462d0f27b3df90a78bb9a650b71c2d33df05f",
"is_verified": false,
"line_number": 44
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "1e83d6c436ae4d06000ac0f408db9d8d29c3fe0e",
"is_verified": false,
"line_number": 45
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "243f6b48ff3330e756004abe753e4c9c34028e6c",
"is_verified": false,
"line_number": 46
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "7db5b5b1c2c11679857d56addd3bd2479aab2721",
"is_verified": false,
"line_number": 47
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "cf08b67aeabdd2fd7cafcfd753da8bbab5c684d7",
"is_verified": false,
"line_number": 48
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "75ce9fc38e1e842804880912e61a1b1aea68111c",
"is_verified": false,
"line_number": 49
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "8038994bf26fbd417a89077f6ef31d1ebf6544f9",
"is_verified": false,
"line_number": 50
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "b0ea3c8a9f3e55a936c4343eb8ebc7f08d3cceb9",
"is_verified": false,
"line_number": 51
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "a53747c40232cec5f46cad5d6c4a150a213714d9",
"is_verified": false,
"line_number": 52
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "d32e48780bb2ffd37e10b688cf92d9b5fc74d8a2",
"is_verified": false,
"line_number": 53
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "d16bf1d12a05db793b05d478084663fd5bb575b1",
"is_verified": false,
"line_number": 54
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "75842ef8e50bb624e56c5ca14baa3e1d4aea0671",
"is_verified": false,
"line_number": 55
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "7a4ad32c40710bf70f02a7b93b9f77b648c92c2d",
"is_verified": false,
"line_number": 56
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "b090bdd1d5916498909d802dcbd7097ca9b5a6d5",
"is_verified": false,
"line_number": 57
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "981d9335450b84272d3e271c355e6dfc1307fb13",
"is_verified": false,
"line_number": 58
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "e12dbca56cd5a0ad00da1fd4e03f1f798aecc6a3",
"is_verified": false,
"line_number": 59
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "4c141f751740b73e3132164878ad16f6e72c7e04",
"is_verified": false,
"line_number": 60
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "210f3750437c4ea33f429027c708a7683fff4ecf",
"is_verified": false,
"line_number": 61
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "33b337f5f3435a7e53244176e22c4fd5e08cf826",
"is_verified": false,
"line_number": 62
},
{
"type": "Hex High Entropy String",
"filename": "lazy-lock.json",
"hashed_secret": "f74e293d7f3cbea3435732dcc1704c5c03d8105e",
"is_verified": false,
"line_number": 63
}
]
},
"generated_at": "2026-05-09T17:04:51Z"
}

View File

@@ -23,20 +23,20 @@ return {
opts = {
ensure_installed = {
-- LSP servers
"gopls", -- Go
"lua-language-server", -- Lua
"gopls", -- Go
"lua-language-server", -- Lua
"typescript-language-server", -- TypeScript/JavaScript
"js-debug-adapter", -- JS
"html-lsp", -- HTML
"css-lsp", -- CSS
"json-lsp", -- JSON
"yaml-language-server", -- YAML
"marksman", -- Markdown
"sqlls", -- SQL
"pyright", --Python
"ruff", --Python
"docker-language-server", -- Docker
"zls", -- Zig
"js-debug-adapter", -- JS
"html-lsp", -- HTML
"css-lsp", -- CSS
"json-lsp", -- JSON
"yaml-language-server", -- YAML
"marksman", -- Markdown
"sqlls", -- SQL
"pyright", --Python
"ruff", --Python
"docker-language-server", -- Docker
"zls", -- Zig
-- Linters
"golangci-lint",
"eslint_d",
@@ -109,8 +109,15 @@ return {
-- Lua
lua_ls = {
root_dir = make_root_detector({ ".luarc.json", ".luarc.jsonc", ".luacheckrc", ".stylua.toml", "stylua.toml",
"selene.toml", "selene.yml" }),
root_dir = make_root_detector({
".luarc.json",
".luarc.jsonc",
".luacheckrc",
".stylua.toml",
"stylua.toml",
"selene.toml",
"selene.yml",
}),
settings = {
Lua = {
workspace = {
@@ -235,6 +242,8 @@ return {
"gitcommit",
"git_rebase",
"dockerfile",
"latex",
"typst",
},
highlight = { enable = true },
indent = { enable = true },

7
lua/plugins/markdown.lua Normal file
View File

@@ -0,0 +1,7 @@
return {
"OXY2DEV/markview.nvim",
lazy = false,
dependencies = {
"saghen/blink.cmp",
},
}