Skip to content

Instantly share code, notes, and snippets.

@EsmaeilSaleh
Created February 26, 2025 06:34
Show Gist options
  • Save EsmaeilSaleh/7b44fe1b3efb6689024de540aa9d2a8f to your computer and use it in GitHub Desktop.
Save EsmaeilSaleh/7b44fe1b3efb6689024de540aa9d2a8f to your computer and use it in GitHub Desktop.
My .vimrc
set number
set relativenumber
set autoindent
set smartindent
let g:javascript_plugin_jsdoc = 1
let g:prettier#exec_cmd_path = "~/.vim/plugged/vim-prettier"
"Vim_Plug
call plug#begin()
" List your plugins here
Plug 'pangloss/vim-javascript'
"copilot
Plug 'github/copilot.vim'
"vim prettier
Plug 'prettier/vim-prettier', {
\ 'do': 'yarn install',
\ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'yaml', 'html'] }
call plug#end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment