Add rust-tool
This commit is contained in:
parent
23812a8141
commit
905388203a
@ -5,11 +5,13 @@ Plug 'kevinhwang91/nvim-hlslens'
|
|||||||
Plug 'leafgarland/typescript-vim', { 'for': 'typescript' }
|
Plug 'leafgarland/typescript-vim', { 'for': 'typescript' }
|
||||||
Plug 'leafoftree/vim-svelte-plugin', { 'for': 'svelte' }
|
Plug 'leafoftree/vim-svelte-plugin', { 'for': 'svelte' }
|
||||||
Plug 'lukas-reineke/indent-blankline.nvim'
|
Plug 'lukas-reineke/indent-blankline.nvim'
|
||||||
|
Plug 'mfussenegger/nvim-dap'
|
||||||
Plug 'nvim-lua/plenary.nvim'
|
Plug 'nvim-lua/plenary.nvim'
|
||||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||||
Plug 'petertriho/nvim-scrollbar'
|
Plug 'petertriho/nvim-scrollbar'
|
||||||
Plug 'posva/vim-vue', { 'for': 'vue' }
|
Plug 'posva/vim-vue', { 'for': 'vue' }
|
||||||
Plug 'ron-rs/ron.vim', { 'for': 'ron' }
|
Plug 'ron-rs/ron.vim', { 'for': 'ron' }
|
||||||
|
Plug 'simrat39/rust-tools.nvim'
|
||||||
Plug 'tommcdo/vim-exchange'
|
Plug 'tommcdo/vim-exchange'
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'tpope/vim-projectionist'
|
Plug 'tpope/vim-projectionist'
|
||||||
|
3
nvim/rust-tools.vimrc
Normal file
3
nvim/rust-tools.vimrc
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
lua << EOF
|
||||||
|
require('rust-tools').setup({})
|
||||||
|
EOF
|
5
vimrc
5
vimrc
@ -148,6 +148,11 @@ if filereadable(expand("~/.config/nvim/markdown.vimrc"))
|
|||||||
source ~/.config/nvim/markdown.vimrc
|
source ~/.config/nvim/markdown.vimrc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Rust tools
|
||||||
|
if filereadable(expand("~/.config/nvim/rust-tools.vimrc"))
|
||||||
|
source ~/.config/nvim/rust-tools.vimrc
|
||||||
|
endif
|
||||||
|
|
||||||
" Color setup
|
" Color setup
|
||||||
if filereadable(expand("~/.config/nvim/colors.vimrc"))
|
if filereadable(expand("~/.config/nvim/colors.vimrc"))
|
||||||
source ~/.config/nvim/colors.vimrc
|
source ~/.config/nvim/colors.vimrc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user