1
0
Fork 0
This commit is contained in:
Vladimír Dudr 2023-10-03 10:50:15 +02:00
parent 5b1eb42787
commit 4884763b24
4 changed files with 52 additions and 14 deletions

27
dot_config/bat/config Normal file
View file

@ -0,0 +1,27 @@
# This is `bat`s configuration file. Each line either contains a comment or
# a command-line option that you want to pass to `bat` by default. You can
# run `bat --help` to get a list of all possible configuration options.
# Specify desired highlighting theme (e.g. "TwoDark"). Run `bat --list-themes`
# for a list of all available themes
--theme="gruvbox-dark"
-p
# Enable this to use italic text on the terminal. This is not supported on all
# terminal emulators (like tmux, by default):
#--italic-text=always
# Uncomment the following line to disable automatic paging:
#--paging=never
# Uncomment the following line if you are using less version >= 551 and want to
# enable mouse scrolling support in `bat` when running inside tmux. This might
# disable text selection, unless you press shift.
#--pager="less --RAW-CONTROL-CHARS --quit-if-one-screen --mouse"
# Syntax mappings: map a certain filename pattern to a language.
# Example 1: use the C++ syntax for Arduino .ino files
# Example 2: Use ".gitignore"-style highlighting for ".ignore" files
#--map-syntax "*.ino:C++"
#--map-syntax ".ignore:Git Ignore"

View file

@ -80,7 +80,14 @@ local server_configs = function()
schemas = vim.tbl_extend('force',
require('schemastore').yaml.schemas(),
{
kubernetes = {'k8s/*.yaml', '**/k8s/**/*.yaml', 'kubernetes/*.yaml', },
kubernetes = {
'**/k8s/**/!(kustomization).yaml',
'**/k8s/**/!(kustomization).yml',
'**/kubernetes/!(kustomization).yaml',
'**/kubernetes/!(kustomization).yml',
'**/kustomize/**/!(kustomization).yaml',
'**/kustomize/**/!(kustomization).yml',
},
}),
},
},

View file

@ -47,20 +47,21 @@ return {
'lukas-reineke/indent-blankline.nvim',
event = 'VeryLazy',
config = true,
main = 'ibl',
opts = {
show_current_context = true,
show_current_context_start = false,
filetype_exclude = {
'OverseerList',
'OverseerForm',
'lspinfo',
'packer',
'checkhealth',
'help',
'man',
'norg',
'',
},
-- show_current_context = true,
-- show_current_context_start = false,
-- filetype_exclude = {
-- 'OverseerList',
-- 'OverseerForm',
-- 'lspinfo',
-- 'packer',
-- 'checkhealth',
-- 'help',
-- 'man',
-- 'norg',
-- '',
-- },
},
},

View file

@ -71,6 +71,7 @@
# Right prompt segments.
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
kubecontext
command_execution_time # previous command duration
# context # user@host
time # current time
@ -109,6 +110,8 @@
# Blue current directory.
typeset -g POWERLEVEL9K_DIR_FOREGROUND=$blue
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|k9s'
# Context format when root: user@host. The first part white, the rest grey.
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE="%F{$white}%n%f%F{$grey}@%m%f"
# Context format when not root: user@host. The whole thing grey.