More latex graphs and some rust-analyzer fixes
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user