From 5e80c28f261222a5aabf14a87b104a43cb75ed5b Mon Sep 17 00:00:00 2001 From: Bazaah Date: Fri, 30 Aug 2024 19:52:38 +0000 Subject: [PATCH] repo: rm examples/ nvim/spellfile these are not relevant or useful, anymore. --- examples/nvim/init.lua | 3 - examples/nvim/lua/config/bufferline.lua | 250 ----------------------- examples/nvim/lua/config/lsp/servers.lua | 24 --- examples/nvim/lua/config/lualine.lua | 9 - examples/nvim/lua/config/onedark.lua | 9 - examples/nvim/lua/early.lua | 6 - examples/nvim/lua/late.lua | 74 ------- examples/nvim/lua/plug.lua | 16 -- nvim/spellfile/words.utf-8.add | 127 ------------ nvim/spellfile/words.utf-8.add.spl | Bin 1298 -> 0 bytes 10 files changed, 518 deletions(-) delete mode 100644 examples/nvim/init.lua delete mode 100644 examples/nvim/lua/config/bufferline.lua delete mode 100644 examples/nvim/lua/config/lsp/servers.lua delete mode 100644 examples/nvim/lua/config/lualine.lua delete mode 100644 examples/nvim/lua/config/onedark.lua delete mode 100644 examples/nvim/lua/early.lua delete mode 100644 examples/nvim/lua/late.lua delete mode 100644 examples/nvim/lua/plug.lua delete mode 100644 nvim/spellfile/words.utf-8.add delete mode 100644 nvim/spellfile/words.utf-8.add.spl diff --git a/examples/nvim/init.lua b/examples/nvim/init.lua deleted file mode 100644 index 78c95d9..0000000 --- a/examples/nvim/init.lua +++ /dev/null @@ -1,3 +0,0 @@ -vim.opt.rtp:append( os.getenv('PSOXIZSH') .. '/nvim' ) - -require 'psoxizsh' diff --git a/examples/nvim/lua/config/bufferline.lua b/examples/nvim/lua/config/bufferline.lua deleted file mode 100644 index c0417ae..0000000 --- a/examples/nvim/lua/config/bufferline.lua +++ /dev/null @@ -1,250 +0,0 @@ -return { - options = { - separator_style = "slant" - }, - highlights = { - background = { - bg = '#222222', - fg = '#FFFFFF', - italic = true, - }, - separator = { - fg = '#000000', - bg = '#222222', - }, - modified = { - bg = '#112244', - fg = '#CC5555', - bold = true, - italic = true, - }, - modified_visible = { - bg = '#224411', - fg = '#CC5555', - bold = true, - italic = true, - }, - modified_selected = { - bg = '#114422', - fg = '#CC5555', - bold = true, - italic = true, - }, - separator_selected = { - bg = '#114422', - fg = '#000000', - }, - buffer_selected = { - bg = '#114422', - fg = '#FFFFFF', - italic = true, - } - } -} - ---[[ - --highlights = { - fill = { - guifg = '', - guibg = '', - }, - background = { - guifg = '', - guibg = '' - }, - tab = { - guifg = '', - guibg = '' - }, - tab_selected = { - guifg = tabline_sel_bg, - guibg = '' - }, - tab_close = { - guifg = '', - guibg = '' - }, - close_button = { - guifg = '', - guibg = '' - }, - close_button_visible = { - guifg = '', - guibg = '' - }, - close_button_selected = { - guifg = '', - guibg = '' - }, - buffer_visible = { - guifg = '', - guibg = '' - }, - buffer_selected = { - guifg = normal_fg, - guibg = '', - gui = "bold,italic" - }, - diagnostic = { - guifg = '', - guibg = '', - }, - diagnostic_visible = { - guifg = '', - guibg = '', - }, - diagnostic_selected = { - guifg = '', - guibg = '', - gui = "bold,italic" - }, - info = { - guifg = '', - guisp = '', - guibg = '' - }, - info_visible = { - guifg = '', - guibg = '' - }, - info_selected = { - guifg = '', - guibg = '', - gui = "bold,italic", - guisp = '' - }, - info_diagnostic = { - guifg = '', - guisp = '', - guibg = '' - }, - info_diagnostic_visible = { - guifg = '', - guibg = '' - }, - info_diagnostic_selected = { - guifg = '', - guibg = '', - gui = "bold,italic", - guisp = '' - }, - warning = { - guifg = '', - guisp = '', - guibg = '' - }, - warning_visible = { - guifg = '', - guibg = '' - }, - warning_selected = { - guifg = '', - guibg = '', - gui = "bold,italic", - guisp = '' - }, - warning_diagnostic = { - guifg = '', - guisp = '', - guibg = '' - }, - warning_diagnostic_visible = { - guifg = '', - guibg = '' - }, - warning_diagnostic_selected = { - guifg = '', - guibg = '', - gui = "bold,italic", - guisp = warning_diagnostic_fg - }, - error = { - guifg = '', - guibg = '', - guisp = '' - }, - error_visible = { - guifg = '', - guibg = '' - }, - error_selected = { - guifg = '', - guibg = '', - gui = "bold,italic", - guisp = '' - }, - error_diagnostic = { - guifg = '', - guibg = '', - guisp = '' - }, - error_diagnostic_visible = { - guifg = '', - guibg = '' - }, - error_diagnostic_selected = { - guifg = '', - guibg = '', - gui = "bold,italic", - guisp = '' - }, - modified = { - guifg = '', - guibg = '' - }, - modified_visible = { - guifg = '', - guibg = '' - }, - modified_selected = { - guifg = '', - guibg = '' - }, - duplicate_selected = { - guifg = '', - gui = "italic", - guibg = '' - }, - duplicate_visible = { - guifg = '', - gui = "italic", - guibg = '' - }, - duplicate = { - guifg = '', - gui = "italic", - guibg = '' - }, - separator_selected = { - guifg = '', - guibg = '' - }, - separator_visible = { - guifg = '', - guibg = '' - }, - separator = { - guifg = '', - guibg = '' - }, - indicator_selected = { - guifg = '', - guibg = '' - }, - pick_selected = { - guifg = '', - guibg = '', - gui = "bold,italic" - }, - pick_visible = { - guifg = '', - guibg = '', - gui = "bold,italic" - }, - pick = { - guifg = '', - guibg = '', - gui = "bold,italic" - } - }; -]] diff --git a/examples/nvim/lua/config/lsp/servers.lua b/examples/nvim/lua/config/lsp/servers.lua deleted file mode 100644 index d128c4c..0000000 --- a/examples/nvim/lua/config/lsp/servers.lua +++ /dev/null @@ -1,24 +0,0 @@ --- $PSOXIZSH/nvim/lua/psoxizsh/lsp/preset.lua - -local Server = require 'psoxizsh.lsp.preset' - -return { - Server.DockerFile, - Server.Go, - Server.Rust, - Server.Terraform, - --[[ - Server.Rust.with { - server = { - settings = { - ['rust-analyzer'] = { - rustfmt = { - extraArgs = { '+nightly' } - } - } - } - }, - crate_graph = { ... } - } - ]] -} diff --git a/examples/nvim/lua/config/lualine.lua b/examples/nvim/lua/config/lualine.lua deleted file mode 100644 index 22bb4ee..0000000 --- a/examples/nvim/lua/config/lualine.lua +++ /dev/null @@ -1,9 +0,0 @@ -return function() - local custom_gruvbox = require'lualine.themes.gruvbox' - - custom_gruvbox.normal.c.bg = '#001122' - - return { - options = { theme = custom_gruvbox } - } -end diff --git a/examples/nvim/lua/config/onedark.lua b/examples/nvim/lua/config/onedark.lua deleted file mode 100644 index b39e67e..0000000 --- a/examples/nvim/lua/config/onedark.lua +++ /dev/null @@ -1,9 +0,0 @@ -return function() - return { - colors = { - onedark = { - bg = '#17170F' - } - } - } -end diff --git a/examples/nvim/lua/early.lua b/examples/nvim/lua/early.lua deleted file mode 100644 index 1aca32a..0000000 --- a/examples/nvim/lua/early.lua +++ /dev/null @@ -1,6 +0,0 @@ -vim.g.mapleader = ',' --- vim.g.my_color_scheme = 'Tomorrow-Night-Bright' - --- $PSOXIZSH/nvim/lua/psoxizsh/key/map.lua --- $PSOXIZSH/nvim/lua/psoxizsh/key/bind.lua - diff --git a/examples/nvim/lua/late.lua b/examples/nvim/lua/late.lua deleted file mode 100644 index 109853a..0000000 --- a/examples/nvim/lua/late.lua +++ /dev/null @@ -1,74 +0,0 @@ --- psox local nvim config --- - --- if (vim.g.neovide) --- then --- end - --- Don't fold markdown by default -vim.g.vim_markdown_folding_disabled = 1 -vim.g.vim_markdown_toc_autofit = 1 -vim.g.vim_markdown_fenced_languages = { 'viml=vim', 'bash=sh', 'ini=dosini', 'zsh=zsh', 'rs=rust', 'c++=cpp', } -vim.g.vim_markdown_conceal = 0 -vim.g.vim_markdown_math = 1 -vim.g.tex_conceal = "" -vim.g.vim_markdown_conceal_code_blocks = 0 -vim.g.neovide_cursor_vfx_mode = '' -vim.g.neovide_cursor_animation_length = 0.0 -vim.opt.mouse = 'a' - -local hl = require 'psoxizsh.util.highlight' - -hl.Comment { italic = true } -hl.RustCommentLine { italic = true } -hl.RustCommentLineDoc { italic = true } -hl.Whitespace { fg = 'White' } -hl.NonText { fg = 'Gray' } - -vim.cmd [[ - " highlight RustCommentLine cterm=italic gui=italic - " highlight RustCommentLineDoc cterm=italic gui=italic - " highlight Whitespace ctermfg=White guifg=White - " highlight NonText ctermfg=Gray guifg=#333333 - highlight GitGutterAdd guibg=#333333 guifg=#44DD44 - highlight GitGutterChange guibg=#333333 guifg=#DDDD44 - highlight GitGutterDelete guibg=#333333 guifg=#DD4444 - highlight GitGutterChangeDelete guibg=#333333 guifg=#DDAA44 - highlight Comment guifg=#999999 - highlight Boolean guifg=#33DD22 - highlight PmenuSel ctermfg=Blue ctermbg=0 guibg=#b3cc57 guifg=#003355 - highlight Pmenu ctermbg=black ctermfg=white guibg=#222244 - highlight Visual ctermfg=Blue ctermbg=0 guibg=#b3cc57 - highlight IndentGuidesOdd guibg=DarkGray ctermbg=DarkGray - highlight IndentGuidesEven guibg=DarkBlue ctermbg=DarkBlue -]] - - -local keys, bind = require 'psoxizsh.key.map', require 'psoxizsh.key.bind' -local G, B = bind.Group, bind.MkBind -local Normal = keys.Global.N - -Normal.NavigateLeft { skip = true } -Normal.NavigateDown { skip = true } -Normal.NavigateUp { skip = true } -Normal.NavigateRight { skip = true } - -keys.Buffer.Lsp.N.CodeAction = B { label = "Code Action", key = ".", action = vim.lsp.buf.code_action , prefix=''} - -keys.User.N { - { mode = 'n' }, - - ToggleColorizer = B { 'Toggle Colorizer', 'H', 'ColorToggle', prefix = '' }, - SaveAll = B { 'Save all buffers', '', 'wall' }, - SaveAllQuit = B { label = 'Save all and quit', key = '', action = 'wqa' }, -} - -keys.User.I { - { mode = 'i' }, - - SaveAll = B { 'Save all buffers', '', 'wall', mode = 'i' }, - SaveAllQuit = B { label = 'Save all and quit', key = '', action = 'wqa', mode = 'i' }, -} - -keys.User:register() - diff --git a/examples/nvim/lua/plug.lua b/examples/nvim/lua/plug.lua deleted file mode 100644 index e1221c5..0000000 --- a/examples/nvim/lua/plug.lua +++ /dev/null @@ -1,16 +0,0 @@ -return { - { 'chrisbra/Colorizer' }, - { 'freitass/todo.txt-vim' }, - { 'godlygeek/tabular' }, - { 'hashivim/vim-hashicorp-tools' }, - -- { 'junegunn/vim-easy-align' }, - { 'nathanaelkane/vim-indent-guides' }, - { 'mzlogin/vim-markdown-toc' }, - { 'plasticboy/vim-markdown' }, - -- { 'mzlogin/vim-markdown-toc' }, - -- { 'bignimbus/pop-punk.vim' }, - { 'dhruvasagar/vim-table-mode' }, - { 'tpope/vim-surround' }, - { 'chriskempson/vim-tomorrow-theme' }, -} --- cspell:ignore tpope dhruvasagar mzlogin Yggdroot hashivim diff --git a/nvim/spellfile/words.utf-8.add b/nvim/spellfile/words.utf-8.add deleted file mode 100644 index e82303b..0000000 --- a/nvim/spellfile/words.utf-8.add +++ /dev/null @@ -1,127 +0,0 @@ -cfg -fn -repo -cfg -env -PSOXIZSH -spelllang -spelloptions -spellfile -noremap -psoxizsh -config -cmp -util -toml -json -autocmd -l -local -vsnip -elseif -kmap -args -api -nvim -feedkeys -termcodes -cmdline -buf -prev -jumpable -cmd -lsp -maxwidth -trimempty -strings -return -cmp -return -lifecycle -pre -init -setmetatable -self -packadd -function -augroup -regen -polyfill -ipairs -autocmds -APIs -neovim -Utils -vimscript -lua -Tmux -tmux -fzf -colorscheme -Psox -au -listchars -ignorecase -infercase -expandtab -softtabstop -tabstop -shiftwidth -utf -splitright -splitbelow -updatetime -relativenumber -signcolumn -showmode -switchbuf -backupdir -hlsearch -rg -yaml -quickfix -setlocal -globpath -runtimepath -MYVIMRC -getenv -nnoremap -unmap -strikethrough -hl -modeline -modelines -filetype -postgres -Webdev -ident -popup - - - - -keymaps -goto -neotree -neo -configs -unstaged -nowait -filesystem -dotfiles -gitignored -dirs -unstage - - - - -ﰊ - - - - - - -vsplit -libuv diff --git a/nvim/spellfile/words.utf-8.add.spl b/nvim/spellfile/words.utf-8.add.spl deleted file mode 100644 index dc51f25c1e0b7f8dd6644b86da788a1b1fac1437..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1298 zcmX|BJBt)S5bo-kNRjY~uQo^J z7^oQ{W5G_gjOBvW06RHEbOwf!Gg^@&qr09~fa$$6Dskib4Pa7uEtm;FXsoOMhpj7l zDiFlP1ux2QPJ}@(DO1F7YE6z+G@vAMT%=)ER1F-y|Nass^{h>&b5gWp1(>e2-hE^> z;J$YQH0M4OA?h@=TEQg^j~aIF##;)a;m{31l6UM|4?s($I~sFmtTp^cF-~4A5jKj0 zxL(nc7GD2986-21YBR2}p*hYadPzx#p{eRQ)q(24_-yVwH0Dwk+AqPH-nR=W!cC#* zR~yE4%k!T3+P|{E!GE*qz|c>gDhHMYhaW>?zho#yORcq~Lkw-Il@76QR)97O6DXNjNzR1=XuUWcos2X?EA*A^LdLg@O#PL-)7rPZQb+>)_mf6?buHTHM0G3 z(XF00GiUd*hg>DNA=qRf&C7$iZ=iXZdr3=V)eyB?YvT~$f*flFh_UrbJghL>%e@;_ zVASh`cg%VGhzG;6(9RTcTRj8Z^-6fLWAk}l6r2efQ{U%g*dnEq*pzjPs8R?b^Ed;^ zC4|%rS(T!I!8^0Sd$bCwrso;%m;9N;sJ$5mZw711iXd_>`x)id?>kSa0}f9aG=*@Z zvG)kwmFq`*e;~)}g+G@ob6EW?*6TN{dGwjh7mkkJZXZ2){_@qyX~?&yY}RaEv-uz) i?*cxbusLJ%NxUz_o{Bva`%Ecym2T5L+5