From 6ef459026ff3d7a151e58b1aa64f2dab024c97f1 Mon Sep 17 00:00:00 2001 From: Vasili Sviridov Date: Thu, 23 Jul 2026 21:45:14 -0700 Subject: [PATCH] chore: add oxlint, take upstream changes --- dot_config/mise/config.toml | 3 +++ dot_config/nvim/init.lua | 25 +++++++++++++++++++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/dot_config/mise/config.toml b/dot_config/mise/config.toml index 8974174..f8736b5 100644 --- a/dot_config/mise/config.toml +++ b/dot_config/mise/config.toml @@ -17,6 +17,9 @@ starship = "latest" "npm:vscode-langservers-extracted" = "latest" tmux = "latest" fzf = "latest" +talosctl = "latest" +k9s = "latest" +kubectl = "latest" [env] RIPGREP_CONFIG_PATH = "{{ env.HOME }}/.config/ripgrep/config" diff --git a/dot_config/nvim/init.lua b/dot_config/nvim/init.lua index 3a06139..d7fd146 100644 --- a/dot_config/nvim/init.lua +++ b/dot_config/nvim/init.lua @@ -51,6 +51,25 @@ vim.pack.add( { src = "https://github.com/esmuellert/nvim-eslint" }, -- Linter { src = "https://github.com/ibhagwan/fzf-lua" }, -- FZF Fuzzy Finder } + { + { src = "https://github.com/nvim-lua/plenary.nvim" }, -- Base functions library + { src = "https://github.com/folke/lazydev.nvim" }, -- Lua Vim types + { src = "https://github.com/andythigpen/nvim-coverage" }, -- Code coverage visualuzer + { src = "https://github.com/nvim-mini/mini.icons" }, -- Icons for Ctrl-P + { src = "https://github.com/nvim-mini/mini.pick" }, -- Ctrl-P Alternative + { src = "https://github.com/nvim-mini/mini.extra" }, -- Additional things for mini tools + { src = "https://github.com/lewis6991/gitsigns.nvim" }, -- Show git changes in the gutter + { src = "https://github.com/neovim/nvim-lspconfig" }, -- Common LSP Configurations + { src = "https://github.com/sbdchd/neoformat" }, -- Formatter + { src = "https://github.com/tpope/vim-fugitive" }, -- Git bindings + { src = "https://github.com/vim-airline/vim-airline-themes" }, -- Status bar theme + { src = "https://github.com/vim-airline/vim-airline" }, -- Status bar + { src = "https://github.com/rebelot/kanagawa.nvim" }, -- Theme + { src = "https://github.com/mfussenegger/nvim-lint" }, -- Linter + { src = "https://github.com/rachartier/tiny-inline-diagnostic.nvim" }, -- Inline diagnostics + { src = "https://github.com/j-hui/fidget.nvim" }, -- LSP Status Popup + { src = "https://github.com/xvzc/chezmoi.nvim" }, -- Chezmoi dotfiles manager + } ) -- Airline @@ -69,7 +88,8 @@ require("coverage").setup() -- Lint require("lint").linters_by_ft = { - sh = { "shellcheck" } + sh = { "shellcheck" }, + ts = { "oxlint" }, } vim.api.nvim_create_autocmd({ "BufWritePost" }, { callback = function() @@ -81,7 +101,7 @@ vim.api.nvim_create_autocmd({ "BufWritePost" }, { vim.cmd.colorscheme "kanagawa-dragon" -- LSP -vim.lsp.enable({ "lua_ls", "ts_ls", "bashls", "yamlls", "graphql", "jsonls" }) +vim.lsp.enable({ "lua_ls", "ts_ls", "bashls", "yamlls", "graphql", "jsonls", "oxlint" }) ---@type vim.lsp.Config local lua_ls_config = { ---@type lspconfig.settings.lua_ls @@ -114,6 +134,7 @@ vim.opt.completeopt = { 'menuone', 'noselect', 'fuzzy' } -- Fidget require("fidget").setup {} + -- Diagnostic require('tiny-inline-diagnostic').setup() vim.diagnostic.config({ virtual_text = false })