nvim windows kinda works now yay

master
Jordan Orelli 2 years ago
parent 5beccc1d4b
commit bfdc1d9bc4

3
.gitmodules vendored

@ -1,3 +1,6 @@
[submodule "Vundle.vim"] [submodule "Vundle.vim"]
path = Vundle.vim path = Vundle.vim
url = https://github.com/VundleVim/Vundle.vim.git url = https://github.com/VundleVim/Vundle.vim.git
[submodule "packer.nvim"]
path = packer.nvim
url = https://github.com/wbthomason/packer.nvim

@ -5,6 +5,7 @@ map <F12> :source $MYVIMRC<CR>
" Plugins -------------------------------------------------------------------{{{ " Plugins -------------------------------------------------------------------{{{
" set the runtime path to include Vundle and initialize " set the runtime path to include Vundle and initialize
if has('nvim') && has('win32') if has('nvim') && has('win32')
lua require('plugins')
set rtp+=~/AppData/Local/nvim/bundle/Vundle.vim set rtp+=~/AppData/Local/nvim/bundle/Vundle.vim
else else
set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.vim/bundle/Vundle.vim
@ -25,6 +26,7 @@ call vundle#begin()
Plugin 'tpope/vim-surround' " edits surrounding quotes and parens and the like Plugin 'tpope/vim-surround' " edits surrounding quotes and parens and the like
Plugin 'tpope/vim-rails' " rails project management stuff Plugin 'tpope/vim-rails' " rails project management stuff
Plugin 'tpope/vim-repeat' " fixes the . key for ...something Plugin 'tpope/vim-repeat' " fixes the . key for ...something
Plugin 'scrooloose/nerdtree' " better file navigation
" Plugin 'airblade/vim-gitgutter' " in-file git integration " Plugin 'airblade/vim-gitgutter' " in-file git integration
Plugin 'mhinz/vim-signify' Plugin 'mhinz/vim-signify'
Plugin 'slim-template/vim-slim' " what in the 2008 is this Plugin 'slim-template/vim-slim' " what in the 2008 is this
@ -34,7 +36,6 @@ call vundle#begin()
Plugin 'nanotech/jellybeans.vim' " the best colorscheme Plugin 'nanotech/jellybeans.vim' " the best colorscheme
Plugin 'ervandew/supertab' " makes tab better apparently Plugin 'ervandew/supertab' " makes tab better apparently
Plugin 'scrooloose/nerdcommenter' " no idea if I'm even using this Plugin 'scrooloose/nerdcommenter' " no idea if I'm even using this
Plugin 'scrooloose/nerdtree' " better file navigation
Plugin 'Align' " aligns things on demand Plugin 'Align' " aligns things on demand
Plugin 'tomtom/tlib_vim' " dependency of flashdevelop Plugin 'tomtom/tlib_vim' " dependency of flashdevelop
Plugin 'endel/flashdevelop.vim' " this is probably old now Plugin 'endel/flashdevelop.vim' " this is probably old now
@ -236,13 +237,13 @@ if has("autocmd")
\ exe "normal! g`\"" | \ exe "normal! g`\"" |
\ endif \ endif
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType python set omnifunc=pythoncomplete#Complete
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
if !has('nvim') if !has('nvim')
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType python set omnifunc=pythoncomplete#Complete
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType rust set omnifunc=ale#completion#OmniFunc autocmd FileType rust set omnifunc=ale#completion#OmniFunc
endif endif

@ -0,0 +1,3 @@
[net]
git-fetch-with-cli=true

@ -26,3 +26,6 @@ nvim/init.vim=.config/nvim/init.vim
.vimrc=AppData/Local/nvim/init.vim .vimrc=AppData/Local/nvim/init.vim
Vundle.vim=AppData/Local/nvim/bundle/Vundle.vim Vundle.vim=AppData/Local/nvim/bundle/Vundle.vim
.vim/ftplugin=AppData/Local/nvim/ftplugin .vim/ftplugin=AppData/Local/nvim/ftplugin
packer.nvim=AppData/Local/nvim-data/site/pack/packer/start/packer.nvim
nvim/lua=AppData/Local/nvim/lua
cargo-config.toml=.cargo/config.toml

@ -0,0 +1,14 @@
function packer_startup(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
-- lsp manager
-- use 'williamboman/mason.nvim'
-- use 'williamboman/mason-lspconfig.nvim'
use 'neovim/nvim-lspconfig'
end
require('packer').startup(packer_startup)
-- require('mason').setup()
require('lspconfig').rust_analyzer.setup({})

@ -0,0 +1 @@
Subproject commit dac4088c70f4337c6c40d1a2751266a324765797
Loading…
Cancel
Save