This commit is contained in:
Brian Zalewski 2023-07-18 18:27:07 +00:00
parent a7d05ee4c2
commit 42d35cfc43
3 changed files with 94 additions and 93 deletions

View file

@ -3,7 +3,7 @@
{{- $vimPlugins := .softwarePlugins.vim.plugins }} {{- $vimPlugins := .softwarePlugins.vim.plugins }}
{{- range $vimPlugin := $vimPlugins }} {{- range $vimPlugin := $vimPlugins }}
{{- $folderName := trimSuffix ".git" (last (splitList "/" $vimPlugin)) }} {{- $folderName := trimSuffix ".git" (last (splitList "/" $vimPlugin)) }}
[".config/vim/plugged/{{ $folderName }}"] [".local/share/vim/plugged/{{ $folderName }}"]
type = "git-repo" type = "git-repo"
url = "{{ $vimPlugin }}" url = "{{ $vimPlugin }}"
refreshPeriod = "{{ $refreshPeriod }}" refreshPeriod = "{{ $refreshPeriod }}"
@ -11,7 +11,7 @@
pull.args = ["--ff-only"] pull.args = ["--ff-only"]
{{- end }} {{- end }}
### coc.nvim VIM plugin requires custom branch "release" ### coc.nvim VIM plugin requires custom branch "release"
[".config/vim/plugged/coc.nvim"] [".local/share/vim/plugged/coc.nvim"]
type = "git-repo" type = "git-repo"
url = "https://github.com/neoclide/coc.nvim.git" url = "https://github.com/neoclide/coc.nvim.git"
refreshPeriod = "{{ $refreshPeriod }}" refreshPeriod = "{{ $refreshPeriod }}"

View file

@ -38,6 +38,11 @@ if command -v install-program > /dev/null; then
export LC_ALL="en_US.UTF-8" export LC_ALL="en_US.UTF-8"
logg info 'Printing environment variables for GO' logg info 'Printing environment variables for GO'
env | grep GO env | grep GO
logg info 'Printing environment variables for Java'
env | grep JAVA
env | grep SDKMAN
env | grep ASDF
env | grep JDK
install-program {{ $softwareList }} install-program {{ $softwareList }}
# TODO - Figure out how to configure no logs to print to ~/.ansible.log -- should be printing to the value specified in the ansible.cfg # TODO - Figure out how to configure no logs to print to ~/.ansible.log -- should be printing to the value specified in the ansible.cfg
rm -rf "$HOME/.ansible.log" rm -rf "$HOME/.ansible.log"

View file

@ -1,65 +1,63 @@
" Install Coc extensions " Install Coc extensions
" TODO: Add https://github.com/yuki-yano/fzf-preview.vim " TODO: Add https://github.com/yuki-yano/fzf-preview.vim
" TODO: Add https://github.com/tpope/vim-fugitive " TODO: Add https://github.com/tpope/vim-fugitive
if executable('node') let g:coc_global_config="$HOME/.config/coc/coc-settings.json"
let g:coc_global_config="$HOME/.config/coc/coc-settings.json" let g:coc_global_extensions = [
let g:coc_global_extensions = [ '@yaegassy/coc-ansible',
\ '@yaegassy/coc-ansible', '@yaegassy/coc-nginx',
\ '@yaegassy/coc-nginx', 'coc-angular',
\ 'coc-angular', 'coc-blade',
\ 'coc-blade', 'coc-calc',
\ 'coc-calc', 'coc-clangd',
\ 'coc-clangd', 'coc-copilot',
\ 'coc-copilot', 'coc-css',
\ 'coc-css', 'coc-cssmodules',
\ 'coc-cssmodules', 'coc-deno',
\ 'coc-deno', 'coc-diagnostic',
\ 'coc-diagnostic', 'coc-docker',
\ 'coc-docker', 'coc-emmet',
\ 'coc-emmet', 'coc-eslint',
\ 'coc-eslint', 'coc-explorer',
\ 'coc-explorer', 'coc-flutter',
\ 'coc-flutter', 'coc-git',
\ 'coc-git', 'coc-go',
\ 'coc-go', 'coc-highlight',
\ 'coc-highlight', 'coc-html-css-support',
\ 'coc-html-css-support', 'coc-html',
\ 'coc-html', 'coc-htmlhint',
\ 'coc-htmlhint', 'coc-java',
\ 'coc-java', 'coc-jedi',
\ 'coc-jedi', 'coc-json',
\ 'coc-json', 'coc-ltex',
\ 'coc-ltex', 'coc-lua',
\ 'coc-lua', 'coc-markdown-preview-enhanced',
\ 'coc-markdown-preview-enhanced', 'coc-markdownlint',
\ 'coc-markdownlint', 'coc-markmap',
\ 'coc-markmap', 'coc-phpls',
\ 'coc-phpls', 'coc-powershell',
\ 'coc-powershell', 'coc-prettier',
\ 'coc-prettier', 'coc-prisma',
\ 'coc-prisma', 'coc-pyright',
\ 'coc-pyright', 'coc-rls',
\ 'coc-rls', 'coc-rust-analyzer',
\ 'coc-rust-analyzer', 'coc-sh',
\ 'coc-sh', 'coc-solargraph',
\ 'coc-solargraph', 'coc-solidity',
\ 'coc-solidity', 'coc-spell-checker',
\ 'coc-spell-checker', 'coc-stylelint',
\ 'coc-stylelint', 'coc-sql',
\ 'coc-sql', 'coc-sqlfluff',
\ 'coc-sqlfluff', 'coc-svelte',
\ 'coc-svelte', 'coc-svg',
\ 'coc-svg', 'coc-swagger',
\ 'coc-swagger', 'coc-symbol-line',
\ 'coc-symbol-line', 'coc-tailwindcss',
\ 'coc-tailwindcss', 'coc-toml',
\ 'coc-toml', 'coc-tsserver',
\ 'coc-tsserver', 'coc-xml',
\ 'coc-xml', 'coc-yaml',
\ 'coc-yaml', 'coc-yank'
\ 'coc-yank' ]
\]
endif
" Settings for coc-css extension " Settings for coc-css extension
autocmd FileType scss setl iskeyword+=@-@ autocmd FileType scss setl iskeyword+=@-@
@ -70,7 +68,7 @@ autocmd BufWritePre *.go :silent call CocAction('runCommand', 'editor.action.org
syntax enable syntax enable
set background=dark set background=dark
colorscheme Betelgeuse colorscheme Betelgeuse
" set g:lightline = { 'colorscheme': 'Betelgeuse' } set g:lightline = { 'colorscheme': 'Betelgeuse' }
" Settings for plugin https://github.com/neoclide/coc.nvim.git " Settings for plugin https://github.com/neoclide/coc.nvim.git
autocmd FileType json syntax match Comment +\/\/.\+$+ autocmd FileType json syntax match Comment +\/\/.\+$+
@ -88,38 +86,36 @@ let g:syntastic_check_on_wq = 0
set encoding=UTF-8 set encoding=UTF-8
" Set location of viminfo file " Set location of viminfo file
set viminfo+=n~/.config/vim/viminfo set viminfo="$HOME/.config/vim/viminfo"
silent! call plug#begin() silent! call plug#begin()
Plug '~/.config/vim/plugged/ale' Plug '${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/ale'
Plug '~/.config/vim/plugged/copilot.vim' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/coc.nvim"
Plug '~/.config/vim/plugged/dockerfile.vim' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/copilot.vim"
Plug '~/.config/vim/plugged/editorconfig-vim' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/dockerfile.vim"
Plug '~/.config/vim/plugged/fzf.vim' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/editorconfig-vim"
Plug '~/.config/vim/plugged/fzf' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/fzf.vim"
Plug '~/.config/vim/plugged/lightline.vim' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/fzf"
Plug '~/.config/vim/plugged/nerdtree' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/lightline.vim"
Plug '~/.config/vim/plugged/php.vim' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/nerdtree"
Plug '~/.config/vim/plugged/python-syntax' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/php.vim"
Plug '~/.config/vim/plugged/syntastic' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/python-syntax"
Plug '~/.config/vim/plugged/typescript-vim' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/syntastic"
Plug '~/.config/vim/plugged/vim-airline' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/typescript-vim"
Plug '~/.config/vim/plugged/vim-carbon-now-sh' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-airline"
Plug '~/.config/vim/plugged/vim-devicons' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-carbon-now-sh"
Plug '~/.config/vim/plugged/vim-five' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-devicons"
Plug '~/.config/vim/plugged/vim-go' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-five"
Plug '~/.config/vim/plugged/vim-javascript' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-go"
Plug '~/.config/vim/plugged/vim-jsx' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-javascript"
Plug '~/.config/vim/plugged/vim-markdown' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-jsx"
Plug '~/.config/vim/plugged/vim-multiple-cursors' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-markdown"
Plug '~/.config/vim/plugged/vim-prettier' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-multiple-cursors"
Plug '~/.config/vim/plugged/vim-sensible' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-prettier"
Plug '~/.config/vim/plugged/vim-surround' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-sensible"
Plug '~/.config/vim/plugged/vimgutter' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vim-surround"
Plug '~/.config/vim/plugged/zoxide.vim' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/vimgutter"
if executable('node') Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/zoxide.vim"
Plug '~/.config/vim/plugged/coc.nvim' Plug "${XDG_DATA_HOME:-$HOME/.local/share}/vim/plugged/ansible-vim", {"do": "./UltiSnips/generate.sh"}
endif
Plug '~/.config/vim/plugged/ansible-vim', {'do': './UltiSnips/generate.sh'}
call plug#end() call plug#end()