Compare commits
4 Commits
e263535a7b
...
a1f228b872
Author | SHA1 | Date | |
---|---|---|---|
a1f228b872 | |||
121ed83cf9 | |||
0887b2549d | |||
fe0f40640a |
@ -13,42 +13,59 @@ return {
|
|||||||
--
|
--
|
||||||
|
|
||||||
-- Packs
|
-- Packs
|
||||||
|
|
||||||
|
{ import = "astrocommunity.pack.bash" },
|
||||||
|
{ import = "astrocommunity.pack.chezmoi" },
|
||||||
|
|
||||||
{ import = "astrocommunity.pack.json" },
|
{ import = "astrocommunity.pack.json" },
|
||||||
{ import = "astrocommunity.pack.yaml" },
|
{ import = "astrocommunity.pack.yaml" },
|
||||||
{ import = "astrocommunity.pack.toml" },
|
{ import = "astrocommunity.pack.toml" },
|
||||||
|
|
||||||
{ import = "astrocommunity.pack.markdown" },
|
{ import = "astrocommunity.pack.markdown" },
|
||||||
{ import = "astrocommunity.pack.bash" },
|
|
||||||
{ import = "astrocommunity.pack.python" },
|
{ import = "astrocommunity.pack.python" },
|
||||||
|
-- { import = "astrocommunity.pack.ruby" },
|
||||||
-- { import = "astrocommunity.pack.java" },
|
-- { import = "astrocommunity.pack.java" },
|
||||||
-- { import = "astrocommunity.pack.html-css" },
|
-- { import = "astrocommunity.pack.html-css" },
|
||||||
-- { import = "astrocommunity.pack.angular" },
|
-- { import = "astrocommunity.pack.angular" },
|
||||||
{ import = "astrocommunity.pack.ansible" },
|
|
||||||
{ import = "astrocommunity.pack.docker" },
|
-- { import = "astrocommunity.pack.ansible" },
|
||||||
{ import = "astrocommunity.pack.helm" },
|
-- { import = "astrocommunity.pack.terraform" },
|
||||||
{ import = "astrocommunity.pack.terraform" },
|
-- { import = "astrocommunity.pack.docker" },
|
||||||
|
-- { import = "astrocommunity.pack.helm" },
|
||||||
|
|
||||||
|
-- { import = "astrocommunity.pack.rainbow-delimiter-indent-blankline" },
|
||||||
|
{ import = "astrocommunity.indent.indent-rainbowline" },
|
||||||
|
|
||||||
-- Recipes
|
-- Recipes
|
||||||
|
|
||||||
{ import = "astrocommunity.recipes.disable-tabline" },
|
{ import = "astrocommunity.recipes.disable-tabline" },
|
||||||
{ import = "astrocommunity.recipes.heirline-mode-text-statusline" },
|
{ import = "astrocommunity.recipes.heirline-mode-text-statusline" },
|
||||||
{ import = "astrocommunity.recipes.heirline-vscode-winbar" },
|
{ import = "astrocommunity.recipes.heirline-vscode-winbar" },
|
||||||
{ import = "astrocommunity.recipes.cache-colorscheme" },
|
{ import = "astrocommunity.recipes.cache-colorscheme" },
|
||||||
{ import = "astrocommunity.recipes.neo-tree-dark" },
|
{ import = "astrocommunity.recipes.neo-tree-dark" },
|
||||||
|
{ import = "astrocommunity.recipes.neovide" },
|
||||||
|
|
||||||
|
-- Completion
|
||||||
|
{ import = "astrocommunity.completion.blink-cmp-git" },
|
||||||
|
{ import = "astrocommunity.completion.blink-cmp-emoji" },
|
||||||
|
-- { import = "astrocommunity.completion.cmp-spell" },
|
||||||
|
-- { import = "astrocommunity.completion.copilot-lua-cmp" },
|
||||||
|
|
||||||
|
-- Telescope
|
||||||
|
{ import = "astrocommunity.terminal-integration.toggleterm-manager-nvim" }, -- A Telescope extension to manage Toggleterm's terminals in NeoVim
|
||||||
|
-- { import = "astrocommunity.file-explorer.telescope-file-browser-nvim" },
|
||||||
|
|
||||||
-- Individual plugins (misc)
|
-- Individual plugins (misc)
|
||||||
{ import = "astrocommunity.bars-and-lines.smartcolumn-nvim" },
|
|
||||||
{ import = "astrocommunity.completion.cmp-cmdline" },
|
-- { import = "astrocommunity.bars-and-lines.smartcolumn-nvim" }, -- display a column when text width exceed defined limit
|
||||||
{ import = "astrocommunity.completion.cmp-spell" },
|
|
||||||
{ import = "astrocommunity.completion.cmp-git" },
|
|
||||||
{ import = "astrocommunity.completion.cmp-emoji" },
|
|
||||||
{ import = "astrocommunity.diagnostics.trouble-nvim" },
|
{ import = "astrocommunity.diagnostics.trouble-nvim" },
|
||||||
{ import = "astrocommunity.editing-support.todo-comments-nvim" },
|
|
||||||
{ import = "astrocommunity.editing-support.rainbow-delimiters-nvim" },
|
|
||||||
{ import = "astrocommunity.editing-support.nvim-devdocs" },
|
{ import = "astrocommunity.editing-support.nvim-devdocs" },
|
||||||
{ import = "astrocommunity.file-explorer.telescope-file-browser-nvim" },
|
|
||||||
{ import = "astrocommunity.git.diffview-nvim" },
|
{ import = "astrocommunity.git.diffview-nvim" },
|
||||||
{ import = "astrocommunity.indent.indent-rainbowline" },
|
|
||||||
{ import = "astrocommunity.markdown-and-latex.render-markdown-nvim" },
|
{ import = "astrocommunity.markdown-and-latex.render-markdown-nvim" },
|
||||||
-- { import = "astrocommunity.completion.copilot-lua-cmp" },
|
{ import = "astrocommunity.motion.marks-nvim" }, -- Display marks in the sign column
|
||||||
|
{ import = "astrocommunity.workflow.hardtime-nvim" }, -- Display hints to get rid of bad habits
|
||||||
|
{ import = "astrocommunity.programming-language-support.kulala-nvim" }, -- A minimal HTTP-client interface for Neovim
|
||||||
|
|
||||||
-- { import = "astrocommunity.editing-support.chatgpt-nvim" },
|
-- { import = "astrocommunity.editing-support.chatgpt-nvim" },
|
||||||
-- { import = "astrocommunity.programming-language-support.rest-nvim" },
|
-- { import = "astrocommunity.programming-language-support.rest-nvim" },
|
||||||
-- { import = "astrocommunity.project.project-nvim" },
|
-- { import = "astrocommunity.project.project-nvim" },
|
||||||
@ -77,6 +94,6 @@ return {
|
|||||||
-- },
|
-- },
|
||||||
|
|
||||||
-- Now provided by core
|
-- Now provided by core
|
||||||
-- { import = "astrocommunity.bars-and-lines.vim-illuminate" },
|
-- { import = "astrocommunity.bars-and-lines.vim-illuminate" }, -- highlight other uses of the word under cursor
|
||||||
-- { import = "astrocommunity.editing-support.todo-comments-nvim" },
|
-- { import = "astrocommunity.editing-support.todo-comments-nvim" },
|
||||||
}
|
}
|
||||||
|
37
lua/plugins/betterTerm.lua
Normal file
37
lua/plugins/betterTerm.lua
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
-- The improved vscode terminal for Neovim written in pure lua
|
||||||
|
"CRAG666/betterTerm.nvim",
|
||||||
|
opts = {
|
||||||
|
prefix = "betterTerm ",
|
||||||
|
position = "bot",
|
||||||
|
size = 25,
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
mode = { 'n', 't' },
|
||||||
|
'<leader>t&',
|
||||||
|
function()
|
||||||
|
require('betterTerm').open(1)
|
||||||
|
end,
|
||||||
|
desc = 'Open betterTerm 1',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
mode = { 'n', 't' },
|
||||||
|
'<leader>té',
|
||||||
|
function()
|
||||||
|
require('betterTerm').open(2)
|
||||||
|
end,
|
||||||
|
desc = 'Open betterTerm 2',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'<leader>tS',
|
||||||
|
function()
|
||||||
|
require('betterTerm').select()
|
||||||
|
end,
|
||||||
|
desc = 'Select a betterTerm terminal',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
63
lua/plugins/incline.lua
Normal file
63
lua/plugins/incline.lua
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
-- Incline is a plugin for creating lightweight floating statuslines.
|
||||||
|
-- It works great with Neovim's global statusline (:set laststatus=3)
|
||||||
|
'b0o/incline.nvim',
|
||||||
|
config = function()
|
||||||
|
local devicons = require 'nvim-web-devicons'
|
||||||
|
require('incline').setup {
|
||||||
|
render = function(props)
|
||||||
|
local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ':t')
|
||||||
|
if filename == '' then
|
||||||
|
filename = '[No Name]'
|
||||||
|
end
|
||||||
|
local ft_icon, ft_color = devicons.get_icon_color(filename)
|
||||||
|
|
||||||
|
local function get_git_diff()
|
||||||
|
local icons = { removed = '', changed = '', added = '' }
|
||||||
|
local signs = vim.b[props.buf].gitsigns_status_dict
|
||||||
|
local labels = {}
|
||||||
|
if signs == nil then
|
||||||
|
return labels
|
||||||
|
end
|
||||||
|
for name, icon in pairs(icons) do
|
||||||
|
if tonumber(signs[name]) and signs[name] > 0 then
|
||||||
|
table.insert(labels, { icon .. signs[name] .. ' ', group = 'Diff' .. name })
|
||||||
|
end
|
||||||
|
end
|
||||||
|
if #labels > 0 then
|
||||||
|
table.insert(labels, { '┊ ' })
|
||||||
|
end
|
||||||
|
return labels
|
||||||
|
end
|
||||||
|
|
||||||
|
local function get_diagnostic_label()
|
||||||
|
local icons = { error = '', warn = '', info = '', hint = '' }
|
||||||
|
local label = {}
|
||||||
|
|
||||||
|
for severity, icon in pairs(icons) do
|
||||||
|
local n = #vim.diagnostic.get(props.buf, { severity = vim.diagnostic.severity[string.upper(severity)] })
|
||||||
|
if n > 0 then
|
||||||
|
table.insert(label, { icon .. n .. ' ', group = 'DiagnosticSign' .. severity })
|
||||||
|
end
|
||||||
|
end
|
||||||
|
if #label > 0 then
|
||||||
|
table.insert(label, { '┊ ' })
|
||||||
|
end
|
||||||
|
return label
|
||||||
|
end
|
||||||
|
|
||||||
|
return {
|
||||||
|
{ get_diagnostic_label() },
|
||||||
|
{ get_git_diff() },
|
||||||
|
{ (ft_icon or '') .. ' ', guifg = ft_color, guibg = 'none' },
|
||||||
|
{ filename .. ' ', gui = vim.bo[props.buf].modified and 'bold,italic' or 'bold' },
|
||||||
|
{ '┊ ' .. vim.api.nvim_win_get_number(props.win), group = 'DevIconWindows' },
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
-- Optional: Lazy load Incline
|
||||||
|
event = 'VeryLazy',
|
||||||
|
},
|
||||||
|
}
|
3
spell/en.utf-8.add
Normal file
3
spell/en.utf-8.add
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
HelmRelease
|
||||||
|
filebeat
|
||||||
|
daemonset
|
BIN
spell/en.utf-8.add.spl
Normal file
BIN
spell/en.utf-8.add.spl
Normal file
Binary file not shown.
@ -1,9 +1,34 @@
|
|||||||
|
Vault
|
||||||
|
|
||||||
|
Docker
|
||||||
|
docker
|
||||||
|
Dockerfile
|
||||||
|
|
||||||
|
Kubernetes
|
||||||
|
kubernetes
|
||||||
|
Helm
|
||||||
|
helm
|
||||||
|
Helmchart
|
||||||
|
helmchart
|
||||||
|
Chart
|
||||||
|
chart
|
||||||
|
kubectl
|
||||||
|
k9s
|
||||||
|
|
||||||
|
Beats
|
||||||
|
beats
|
||||||
|
filebeat
|
||||||
|
metricbeat
|
||||||
|
|
||||||
|
Kafka
|
||||||
|
kafka
|
||||||
|
password
|
||||||
|
topics
|
||||||
|
|
||||||
|
Jenkins
|
||||||
|
Jenkinsfile
|
||||||
|
jenkinsfile
|
||||||
|
|
||||||
Angular
|
Angular
|
||||||
Spring
|
Spring
|
||||||
Drupal
|
Drupal
|
||||||
Vault
|
|
||||||
Jenkinsfile
|
|
||||||
Dockerfile
|
|
||||||
jenkinsfile
|
|
||||||
Jenkins
|
|
||||||
Kubernetes
|
|
||||||
|
Reference in New Issue
Block a user