Compare commits
2 Commits
d72d23a06e
...
928c8be999
| Author | SHA1 | Date | |
|---|---|---|---|
| 928c8be999 | |||
| 6ef459026f |
@@ -17,6 +17,9 @@ starship = "latest"
|
|||||||
"npm:vscode-langservers-extracted" = "latest"
|
"npm:vscode-langservers-extracted" = "latest"
|
||||||
tmux = "latest"
|
tmux = "latest"
|
||||||
fzf = "latest"
|
fzf = "latest"
|
||||||
|
talosctl = "latest"
|
||||||
|
k9s = "latest"
|
||||||
|
kubectl = "latest"
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
RIPGREP_CONFIG_PATH = "{{ env.HOME }}/.config/ripgrep/config"
|
RIPGREP_CONFIG_PATH = "{{ env.HOME }}/.config/ripgrep/config"
|
||||||
|
|||||||
+26
-27
@@ -26,31 +26,28 @@ vim.keymap.set("n", "<leader>h", ":Pick help<cr>")
|
|||||||
vim.keymap.set("n", "<leader>cz", function() require("chezmoi.pick").mini() end) -- Pick from chezmoi managed files
|
vim.keymap.set("n", "<leader>cz", function() require("chezmoi.pick").mini() end) -- Pick from chezmoi managed files
|
||||||
|
|
||||||
vim.pack.add(
|
vim.pack.add(
|
||||||
{
|
{
|
||||||
{ src = "https://github.com/andythigpen/nvim-coverage" }, -- Code coverage visualuzer
|
{ src = "https://github.com/andythigpen/nvim-coverage" }, -- Code coverage visualuzer
|
||||||
{ src = "https://github.com/folke/lazydev.nvim" }, -- Lua Vim types
|
{ src = "https://github.com/esmuellert/nvim-eslint" }, -- Linter
|
||||||
{ src = "https://github.com/j-hui/fidget.nvim" }, -- LSP Status Popup
|
{ src = "https://github.com/folke/lazydev.nvim" }, -- Lua Vim types
|
||||||
{
|
{ src = "https://github.com/ibhagwan/fzf-lua" }, -- FZF Fuzzy Finder
|
||||||
src = "https://github.com/kylechui/nvim-surround",
|
{ src = "https://github.com/j-hui/fidget.nvim" }, -- LSP Status Popup
|
||||||
version = vim.version.range("^4.0.0")
|
{ src = "https://github.com/kylechui/nvim-surround", version = vim.version.range("^4.0.0") },
|
||||||
}, -- Surround
|
{ src = "https://github.com/lewis6991/gitsigns.nvim" }, -- Show git changes in the gutter
|
||||||
{ src = "https://github.com/lewis6991/gitsigns.nvim" }, -- Show git changes in the gutter
|
{ src = "https://github.com/mfussenegger/nvim-lint" }, -- Linter
|
||||||
{ src = "https://github.com/mfussenegger/nvim-lint" }, -- Linter
|
{ src = "https://github.com/neovim/nvim-lspconfig" }, -- Common LSP Configurations
|
||||||
{ src = "https://github.com/neovim/nvim-lspconfig" }, -- Common LSP Configurations
|
{ src = "https://github.com/nvim-lua/plenary.nvim" }, -- Base functions library
|
||||||
{ src = "https://github.com/nvim-lua/plenary.nvim" }, -- Base functions library
|
{ src = "https://github.com/nvim-mini/mini.extra" }, -- Additional things for mini tools
|
||||||
{ src = "https://github.com/nvim-mini/mini.extra" }, -- Additional things for mini tools
|
{ src = "https://github.com/nvim-mini/mini.icons" }, -- Icons for Ctrl-P
|
||||||
{ 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.pick" }, -- Ctrl-P Alternative
|
{ src = "https://github.com/rachartier/tiny-inline-diagnostic.nvim" }, -- Inline diagnostics
|
||||||
{ src = "https://github.com/rachartier/tiny-inline-diagnostic.nvim" }, -- Inline diagnostics
|
{ src = "https://github.com/rebelot/kanagawa.nvim" }, -- Theme
|
||||||
{ src = "https://github.com/rebelot/kanagawa.nvim" }, -- Theme
|
{ src = "https://github.com/sbdchd/neoformat" }, -- Formatter
|
||||||
{ src = "https://github.com/sbdchd/neoformat" }, -- Formatter
|
{ src = "https://github.com/tpope/vim-fugitive" }, -- Git bindings
|
||||||
{ src = "https://github.com/tpope/vim-fugitive" }, -- Git bindings
|
{ src = "https://github.com/vim-airline/vim-airline" }, -- Status bar
|
||||||
{ src = "https://github.com/vim-airline/vim-airline-themes" }, -- Status bar theme
|
{ 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/xvzc/chezmoi.nvim" }, -- Chezmoi dotfiles manager
|
||||||
{ src = "https://github.com/xvzc/chezmoi.nvim" }, -- Chezmoi dotfiles manager
|
}
|
||||||
{ src = "https://github.com/esmuellert/nvim-eslint" }, -- Linter
|
|
||||||
{ src = "https://github.com/ibhagwan/fzf-lua" }, -- FZF Fuzzy Finder
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
-- Airline
|
-- Airline
|
||||||
@@ -69,7 +66,8 @@ require("coverage").setup()
|
|||||||
|
|
||||||
-- Lint
|
-- Lint
|
||||||
require("lint").linters_by_ft = {
|
require("lint").linters_by_ft = {
|
||||||
sh = { "shellcheck" }
|
sh = { "shellcheck" },
|
||||||
|
ts = { "oxlint" },
|
||||||
}
|
}
|
||||||
vim.api.nvim_create_autocmd({ "BufWritePost" }, {
|
vim.api.nvim_create_autocmd({ "BufWritePost" }, {
|
||||||
callback = function()
|
callback = function()
|
||||||
@@ -81,7 +79,7 @@ vim.api.nvim_create_autocmd({ "BufWritePost" }, {
|
|||||||
vim.cmd.colorscheme "kanagawa-dragon"
|
vim.cmd.colorscheme "kanagawa-dragon"
|
||||||
|
|
||||||
-- LSP
|
-- 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
|
---@type vim.lsp.Config
|
||||||
local lua_ls_config = {
|
local lua_ls_config = {
|
||||||
---@type lspconfig.settings.lua_ls
|
---@type lspconfig.settings.lua_ls
|
||||||
@@ -114,6 +112,7 @@ vim.opt.completeopt = { 'menuone', 'noselect', 'fuzzy' }
|
|||||||
-- Fidget
|
-- Fidget
|
||||||
require("fidget").setup {}
|
require("fidget").setup {}
|
||||||
|
|
||||||
|
|
||||||
-- Diagnostic
|
-- Diagnostic
|
||||||
require('tiny-inline-diagnostic').setup()
|
require('tiny-inline-diagnostic').setup()
|
||||||
vim.diagnostic.config({ virtual_text = false })
|
vim.diagnostic.config({ virtual_text = false })
|
||||||
|
|||||||
Reference in New Issue
Block a user