mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-25 08:49:02 +00:00
Compare commits
2 commits
5f948f88bd
...
92bde3bcde
Author | SHA1 | Date | |
---|---|---|---|
92bde3bcde | |||
c26cdc41ab |
3 changed files with 42 additions and 3 deletions
26
install.sh
26
install.sh
|
@ -15,9 +15,9 @@ workspace_link() {
|
|||
ln -s $REPO_DIR/$1 $HOME_DIR/$2 || true
|
||||
}
|
||||
|
||||
echo "== manjaro packages"
|
||||
if cat /etc/lsb-release | grep Manjaro > /dev/null
|
||||
then
|
||||
echo "== manjaro packages"
|
||||
sudo pacman -Syu
|
||||
sudo pacman -S \
|
||||
git \
|
||||
|
@ -27,11 +27,28 @@ then
|
|||
neovim \
|
||||
zsh \
|
||||
tmux \
|
||||
starship \
|
||||
nodejs \
|
||||
ripgrep \
|
||||
fd \
|
||||
typos-bin
|
||||
elif cat /etc/os-release | grep "Ubuntu" > /dev/null
|
||||
then
|
||||
echo "== ubuntu packages"
|
||||
sudo apt update
|
||||
sudo apt install -y \
|
||||
git \
|
||||
bat \
|
||||
vim \
|
||||
neovim \
|
||||
zsh \
|
||||
tmux \
|
||||
nodejs \
|
||||
ripgrep \
|
||||
snapd \
|
||||
cargo
|
||||
sudo snap install \
|
||||
difftastic \
|
||||
starship \
|
||||
cargo install typos-cli
|
||||
fi
|
||||
|
||||
echo "== zplug"
|
||||
|
@ -43,6 +60,9 @@ then
|
|||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --yes
|
||||
fi
|
||||
|
||||
echo "== Switching shell to ZSH"
|
||||
sudo chsh $USER --shell $(which zsh)
|
||||
|
||||
echo "== Copying configuration files..."
|
||||
# GIT
|
||||
workspace_backup .gitconfig
|
||||
|
|
|
@ -12,6 +12,12 @@
|
|||
"filetypes": ["terraform", "tf"],
|
||||
"initializationOptions": {},
|
||||
"settings": {}
|
||||
},
|
||||
"graphql": {
|
||||
"command": "graphql-lsp",
|
||||
"args": ["server", "-m", "stream"],
|
||||
// customize filetypes to your needs
|
||||
"filetypes": ["typescript", "typescriptreact", "graphql"]
|
||||
}
|
||||
},
|
||||
"prettier.disableSuccessMessage": true,
|
||||
|
|
|
@ -16,6 +16,7 @@ Plug 'tmux-plugins/vim-tmux-focus-events'
|
|||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'sainnhe/edge'
|
||||
Plug 'Yggdroot/indentLine'
|
||||
Plug 'koenverburg/peepsight.nvim'
|
||||
" Git
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
" Search/Files
|
||||
|
@ -129,6 +130,7 @@ require'nvim-treesitter.configs'.setup {
|
|||
"go",
|
||||
"graphql",
|
||||
"hcl",
|
||||
"terraform",
|
||||
"javascript",
|
||||
"json",
|
||||
"make",
|
||||
|
@ -167,6 +169,17 @@ augroup JsonToJsonc
|
|||
autocmd! FileType json set filetype=jsonc
|
||||
augroup END
|
||||
|
||||
lua <<EOF
|
||||
require'peepsight'.setup({
|
||||
-- typescript
|
||||
"arrow_function",
|
||||
"function_declaration",
|
||||
"generator_function_declaration",
|
||||
"method_definition",
|
||||
})
|
||||
require'peepsight'.enable()
|
||||
EOF
|
||||
|
||||
"""""
|
||||
"--- Telescope Configuration
|
||||
lua <<EOF
|
||||
|
|
Loading…
Reference in a new issue