reorganize nvim config

pull/2/head
Alpha Chen 2 years ago
parent 3a0fbbb32d
commit 15978a0615

@ -1 +1 @@
/Users/alpha/.dotfiles/nvim /Users/alpha/.dotfiles/nvim/config

36
.gitmodules vendored

@ -162,71 +162,71 @@
path = src/frink.alfredworkflow path = src/frink.alfredworkflow
url = https://github.com/src/frink.alfredworkflow url = https://github.com/src/frink.alfredworkflow
[submodule ".local/share/nvim/site/pack/hotpot.nvim"] [submodule ".local/share/nvim/site/pack/hotpot.nvim"]
path = .local/share/nvim/site/pack/kejadlen/start/hotpot path = nvim/pack/kejadlen/start/hotpot
url = https://github.com/rktjmp/hotpot.nvim url = https://github.com/rktjmp/hotpot.nvim
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/paramount"] [submodule "nvim/pack/kejadlen/start/paramount"]
url = https://git.kejadlen.dev/alpha/vim-colors-paramount.git url = https://git.kejadlen.dev/alpha/vim-colors-paramount.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/vim-tmux-navigator"] [submodule ".local/share/nvim/site/pack/kejadlen/start/vim-tmux-navigator"]
path = .local/share/nvim/site/pack/kejadlen/start/tmux-navigator path = nvim/pack/kejadlen/start/tmux-navigator
url = https://github.com/christoomey/vim-tmux-navigator.git url = https://github.com/christoomey/vim-tmux-navigator.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/lightline"] [submodule ".local/share/nvim/site/pack/kejadlen/start/lightline"]
path = .local/share/nvim/site/pack/kejadlen/start/lightline path = nvim/pack/kejadlen/start/lightline
url = https://github.com/itchyny/lightline.vim.git url = https://github.com/itchyny/lightline.vim.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/unimpaired"] [submodule ".local/share/nvim/site/pack/kejadlen/start/unimpaired"]
path = .local/share/nvim/site/pack/kejadlen/start/unimpaired path = nvim/pack/kejadlen/start/unimpaired
url = https://github.com/tpope/vim-unimpaired.git url = https://github.com/tpope/vim-unimpaired.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/sleuth"] [submodule ".local/share/nvim/site/pack/kejadlen/start/sleuth"]
path = .local/share/nvim/site/pack/kejadlen/start/sleuth path = nvim/pack/kejadlen/start/sleuth
url = https://github.com/tpope/vim-sleuth.git url = https://github.com/tpope/vim-sleuth.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/fennel"] [submodule ".local/share/nvim/site/pack/kejadlen/start/fennel"]
path = .local/share/nvim/site/pack/kejadlen/start/fennel path = nvim/pack/kejadlen/start/fennel
url = https://github.com/jaawerth/fennel.vim.git url = https://github.com/jaawerth/fennel.vim.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/commentary"] [submodule ".local/share/nvim/site/pack/kejadlen/start/commentary"]
path = .local/share/nvim/site/pack/kejadlen/start/commentary path = nvim/pack/kejadlen/start/commentary
url = https://github.com/tpope/vim-commentary.git url = https://github.com/tpope/vim-commentary.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/lspconfig"] [submodule ".local/share/nvim/site/pack/kejadlen/start/lspconfig"]
path = .local/share/nvim/site/pack/kejadlen/start/lspconfig path = nvim/pack/kejadlen/start/lspconfig
url = https://github.com/neovim/nvim-lspconfig.git url = https://github.com/neovim/nvim-lspconfig.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/sensible"] [submodule ".local/share/nvim/site/pack/kejadlen/start/sensible"]
path = .local/share/nvim/site/pack/kejadlen/start/sensible path = nvim/pack/kejadlen/start/sensible
url = https://github.com/tpope/vim-sensible.git url = https://github.com/tpope/vim-sensible.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/vinegar"] [submodule ".local/share/nvim/site/pack/kejadlen/start/vinegar"]
path = .local/share/nvim/site/pack/kejadlen/start/vinegar path = nvim/pack/kejadlen/start/vinegar
url = https://github.com/tpope/vim-vinegar.git url = https://github.com/tpope/vim-vinegar.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/surround"] [submodule ".local/share/nvim/site/pack/kejadlen/start/surround"]
path = .local/share/nvim/site/pack/kejadlen/start/surround path = nvim/pack/kejadlen/start/surround
url = https://github.com/tpope/vim-surround.git url = https://github.com/tpope/vim-surround.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/fzf"] [submodule ".local/share/nvim/site/pack/kejadlen/start/fzf"]
path = .local/share/nvim/site/pack/kejadlen/start/fzf path = nvim/pack/kejadlen/start/fzf
url = https://github.com/junegunn/fzf.vim.git url = https://github.com/junegunn/fzf.vim.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/repeat"] [submodule ".local/share/nvim/site/pack/kejadlen/start/repeat"]
path = .local/share/nvim/site/pack/kejadlen/start/repeat path = nvim/pack/kejadlen/start/repeat
url = https://github.com/tpope/vim-repeat.git url = https://github.com/tpope/vim-repeat.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/tabular"] [submodule ".local/share/nvim/site/pack/kejadlen/start/tabular"]
path = .local/share/nvim/site/pack/kejadlen/start/tabular path = nvim/pack/kejadlen/start/tabular
url = https://github.com/godlygeek/tabular.git url = https://github.com/godlygeek/tabular.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/treesitter"] [submodule ".local/share/nvim/site/pack/kejadlen/start/treesitter"]
path = .local/share/nvim/site/pack/kejadlen/start/treesitter path = nvim/pack/kejadlen/start/treesitter
url = https://github.com/nvim-treesitter/nvim-treesitter.git url = https://github.com/nvim-treesitter/nvim-treesitter.git
shallow = true shallow = true
[submodule ".local/share/nvim/site/pack/kejadlen/start/treesitter-textobjects"] [submodule ".local/share/nvim/site/pack/kejadlen/start/treesitter-textobjects"]
path = .local/share/nvim/site/pack/kejadlen/start/treesitter-textobjects path = nvim/pack/kejadlen/start/treesitter-textobjects
url = https://github.com/nvim-treesitter/nvim-treesitter-textobjects.git url = https://github.com/nvim-treesitter/nvim-treesitter-textobjects.git
[submodule ".local/share/nvim/site/pack/kejadlen/start/navic"] [submodule ".local/share/nvim/site/pack/kejadlen/start/navic"]
path = .local/share/nvim/site/pack/kejadlen/start/navic path = nvim/pack/kejadlen/start/navic
url = https://github.com/SmiteshP/nvim-navic.git url = https://github.com/SmiteshP/nvim-navic.git

@ -1,6 +1,6 @@
(vim.cmd "colorscheme paramount") (vim.cmd "colorscheme paramount")
(set vim.o.foldlevel 1) (set vim.o.foldlevel 2)
(set vim.o.linebreak true) (set vim.o.linebreak true)
(set vim.o.list true) (set vim.o.list true)
(set vim.o.listchars (set vim.o.listchars
@ -101,7 +101,7 @@
;;; treesitter ;;; treesitter
(let [configs (require :nvim-treesitter.configs) (let [configs (require :nvim-treesitter.configs)
{: setup} configs] {: setup} configs]
(setup {:ensure_installed [:fennel :lua :ruby :rust :typescript] (setup {:ensure_installed [:fennel :hcl :lua :ruby :rust :typescript]
:sync_install false :sync_install false
:highlight {:enable true :additional_vim_regex_highlighting false} :highlight {:enable true :additional_vim_regex_highlighting false}
;; disabling since this is super annoying in Ruby ;; disabling since this is super annoying in Ruby

@ -74,4 +74,3 @@
:settings {:rust-analyzer {:checkOnSave {:command :clippy}}}}) :settings {:rust-analyzer {:checkOnSave {:command :clippy}}}})
(tsserver.setup {:on_attach tsserver-attach}) (tsserver.setup {:on_attach tsserver-attach})
(typeprof.setup {:on_attach on-attach})) (typeprof.setup {:on_attach on-attach}))
Loading…
Cancel
Save