mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-03 13:48:40 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d3ec2e7332 | |||
|
|
0b11f6456a | ||
|
|
58064a7b9b | ||
|
|
4723d5c61c |
2
.github/workflows/linters.yml
vendored
2
.github/workflows/linters.yml
vendored
@@ -33,4 +33,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run PR Lint
|
- name: Run PR Lint
|
||||||
# https://github.com/ivuorinen/actions
|
# https://github.com/ivuorinen/actions
|
||||||
uses: ivuorinen/actions/pr-lint@1018ccd7fe3d4520222a558d7d5f701515c45af0 # 25.7.28
|
uses: ivuorinen/actions/pr-lint@86387d514e628a6b8b2c8c4f559ba3e0147204a8 # 25.8.4
|
||||||
|
|||||||
2
.github/workflows/sync-labels.yml
vendored
2
.github/workflows/sync-labels.yml
vendored
@@ -29,4 +29,4 @@ jobs:
|
|||||||
issues: write
|
issues: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: ivuorinen/actions/sync-labels@1018ccd7fe3d4520222a558d7d5f701515c45af0 # 25.7.28
|
- uses: ivuorinen/actions/sync-labels@86387d514e628a6b8b2c8c4f559ba3e0147204a8 # 25.8.4
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ repos:
|
|||||||
- id: yamllint
|
- id: yamllint
|
||||||
|
|
||||||
- repo: https://github.com/koalaman/shellcheck-precommit
|
- repo: https://github.com/koalaman/shellcheck-precommit
|
||||||
rev: v0.10.0
|
rev: v0.11.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: shellcheck
|
- id: shellcheck
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ repos:
|
|||||||
- id: actionlint
|
- id: actionlint
|
||||||
|
|
||||||
- repo: https://github.com/renovatebot/pre-commit-hooks
|
- repo: https://github.com/renovatebot/pre-commit-hooks
|
||||||
rev: 41.43.0
|
rev: 41.55.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
|
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ local lazy_plugins = function()
|
|||||||
return require('telescope').extensions.lazy_plugins.lazy_plugins()
|
return require('telescope').extensions.lazy_plugins.lazy_plugins()
|
||||||
end
|
end
|
||||||
|
|
||||||
K.nl('f', ':Telescope fd --hidden=true<cr>', 'Find Files')
|
K.nl('f', ':Telescope find_files<cr>', 'Find Files')
|
||||||
K.nl(',', ':Telescope buffers<cr>', 'Find existing buffers')
|
K.nl(',', ':Telescope buffers<cr>', 'Find existing buffers')
|
||||||
K.nl('/', function() fuzzy_search() end, 'Fuzzily search in current buffer')
|
K.nl('/', function() fuzzy_search() end, 'Fuzzily search in current buffer')
|
||||||
|
|
||||||
|
|||||||
@@ -37,15 +37,18 @@ return {
|
|||||||
local vimgrep_arguments = { unpack(c.values.vimgrep_arguments) }
|
local vimgrep_arguments = { unpack(c.values.vimgrep_arguments) }
|
||||||
|
|
||||||
-- I want to search in hidden/dot files.
|
-- I want to search in hidden/dot files.
|
||||||
table.insert(vimgrep_arguments, '--hidden')
|
table.insert(vimgrep_arguments, '--hidden=true')
|
||||||
-- I don't want to search in the `.git` directory.
|
|
||||||
table.insert(vimgrep_arguments, '--glob')
|
table.insert(vimgrep_arguments, '--glob')
|
||||||
|
-- I don't want to search in the `.git` directory.
|
||||||
table.insert(vimgrep_arguments, '!**/.git/*')
|
table.insert(vimgrep_arguments, '!**/.git/*')
|
||||||
|
|
||||||
-- [[ Configure Telescope ]]
|
-- [[ Configure Telescope ]]
|
||||||
-- See `:help telescope` and `:help telescope.setup()`
|
-- See `:help telescope` and `:help telescope.setup()`
|
||||||
t.setup {
|
t.setup {
|
||||||
defaults = {
|
defaults = {
|
||||||
|
preview = {
|
||||||
|
filesize_limit = 0.1, -- MB
|
||||||
|
},
|
||||||
-- `hidden = true` is not supported in text grep commands.
|
-- `hidden = true` is not supported in text grep commands.
|
||||||
vimgrep_arguments = vimgrep_arguments,
|
vimgrep_arguments = vimgrep_arguments,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user