More latex graphs and some rust-analyzer fixes

This commit is contained in:
2022-03-01 10:00:00 -08:00
parent c2b9e9b92e
commit 7203188e49
2 changed files with 14 additions and 0 deletions
+8
View File
@@ -97,3 +97,11 @@ endsnippet
snippet vector "Graph Vector" w snippet vector "Graph Vector" w
\draw[line width=2pt,blue,-stealth] ($1)--($2) node[]{$3}; \draw[line width=2pt,blue,-stealth] ($1)--($2) node[]{$3};
endsnippet endsnippet
snippet xaxis "X Axis" w
\draw[<->] (-$1,0)--($1,0) node[anchor=west]{$x$};$0
endsnippet
snippet yaxis "Y Axis" w
\draw[<->] (0,-$1)--(0,$1) node[anchor=west]{$y$};$0
endsnippet
+6
View File
@@ -38,6 +38,9 @@ Plug 'hrsh7th/cmp-path', {'branch': 'main'}
Plug 'hrsh7th/nvim-cmp', {'branch': 'main'} Plug 'hrsh7th/nvim-cmp', {'branch': 'main'}
Plug 'ray-x/lsp_signature.nvim' Plug 'ray-x/lsp_signature.nvim'
" Autocompletion snippets
Plug 'hrsh7th/vim-vsnip'
" More syntax " More syntax
Plug 'rust-lang/rust.vim' Plug 'rust-lang/rust.vim'
Plug 'plasticboy/vim-markdown' Plug 'plasticboy/vim-markdown'
@@ -194,6 +197,9 @@ let g:rustfmt_fail_silently = 0
" Better auto-completions " Better auto-completions
set completeopt=menuone,noinsert,noselect set completeopt=menuone,noinsert,noselect
" Prevent rust-analyzer from jumping the code around
set signcolumn=yes
" Proper search " Proper search
set incsearch set incsearch
set ignorecase set ignorecase