Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/lualint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
name: Lint Lua files
on: pull_request # yamllint disable-line rule:truthy
jobs:
Lint:
selene:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Luacheck linter
uses: lunarmodules/luacheck@v1
- uses: actions/checkout@v4
- name: Run selene
uses: NTBBloodbath/selene-action@v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: nvim/
version: 0.30.1
3 changes: 0 additions & 3 deletions .luacheckrc

This file was deleted.

3 changes: 2 additions & 1 deletion fish/completions/copilot.fish
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ complete -c copilot -l interactive -s i -r -d 'Start interactive mode and automa
complete -c copilot -l prompt -s p -r -d 'Execute a prompt in non-interactive mode (exits after completion)'
complete -c copilot -l silent -s s -f -d 'Output only the agent response (no stats), useful for scripting with -p'
complete -c copilot -l model -r -d 'Set the AI model to use'
complete -c copilot -l effort -l reasoning-effort -r -d 'Set the reasoning effort level' -a 'none low medium high xhigh'
complete -c copilot -l effort -l reasoning-effort -r -d 'Set the reasoning effort level' -a 'none low medium high xhigh max'
complete -c copilot -l enable-reasoning-summaries -f -d 'Request reasoning summaries for OpenAI models'
complete -c copilot -l agent -r -d 'Specify a custom agent to use'
complete -c copilot -l resume -r -d 'Resume from a previous session (optionally specify session ID, task ID, or name; name matching is exact, case-insensitive)'
Expand Down Expand Up @@ -76,6 +76,7 @@ complete -c copilot -n '__fish_seen_subcommand_from plugin' -f -a 'uninstall' -d
complete -c copilot -n '__fish_seen_subcommand_from plugin' -f -a 'update' -d 'Update a plugin'
complete -c copilot -n '__fish_seen_subcommand_from plugin' -f -a 'list' -d 'List installed plugins'
complete -c copilot -n '__fish_seen_subcommand_from plugin' -f -a 'marketplace' -d 'Manage plugin marketplaces'
complete -c copilot -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from update' -l all -f -d 'Update all installed plugins'
complete -c copilot -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from marketplace' -f -a 'add' -d 'Add a marketplace'
complete -c copilot -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from marketplace' -f -a 'remove' -d 'Remove a marketplace'
complete -c copilot -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from marketplace' -f -a 'list' -d 'List registered marketplaces'
Expand Down
2 changes: 2 additions & 0 deletions gh/hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
github.com:
user: djensenius
git_protocol: https
users:
djensenius:
1 change: 1 addition & 0 deletions mise/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
go = 'latest'
jq = 'latest'
kubectl = 'latest'
lua = 'latest'
node = 'latest'
npm = 'latest'
pipx = 'latest'
Expand Down
1 change: 0 additions & 1 deletion nvim/init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- luacheck: globals vim
if vim.loader then
vim.loader.enable()
end
Expand Down
1 change: 0 additions & 1 deletion nvim/lua/plugins/gitsigns.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- luacheck: ignore 211 212
return {
"lewis6991/gitsigns.nvim",
event = { "BufReadPre", "BufNewFile" },
Expand Down
2 changes: 1 addition & 1 deletion nvim/lua/plugins/mason.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ return {
"golangci-lint",
"isort",
"jsonlint",
"luacheck",
"selene",
"prettierd",
"prettier",
"shellcheck",
Expand Down
2 changes: 1 addition & 1 deletion nvim/lua/plugins/nvim-lint.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ return {
javascript = { "eslint_d" },
javascriptreact = { "eslint_d" },
jsonlint = { "jsonlint" },
lua = { "luacheck" },
lua = { "selene" },
ruby = { "rubocop" },
svelte = { "eslint_d" },
typescript = { "eslint_d" },
Expand Down
5 changes: 5 additions & 0 deletions selene.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
std = "vim"

[rules]
mixed_table = "allow"
incorrect_standard_library_use = "allow"
1 change: 1 addition & 0 deletions tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ set -ag status-right "#{E:@catppuccin_status_battery}"


# ================== Plugins =======================
set-environment -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.config/tmux/plugins"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
Expand Down
8 changes: 8 additions & 0 deletions vim.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
base: lua51
globals:
vim:
any: true
package.config:
type: string
property: read-only
Loading