From ea86d7c6c99e8c270259b97e72782d8ea5cfe733 Mon Sep 17 00:00:00 2001 From: Andrzej Date: Fri, 1 Mar 2024 19:27:21 +0000 Subject: [PATCH] coc tweaks --- .vimrc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.vimrc b/.vimrc index 6513a0f..6dc3541 100644 --- a/.vimrc +++ b/.vimrc @@ -1,4 +1,4 @@ -set nocompatible + set encoding=utf-8 set noerrorbells set autowriteall @@ -8,7 +8,6 @@ set linebreak set textwidth=0 " prevent Vim from automatically inserting line breaks set wrap set backspace=indent,eol,start - set noswapfile set undodir=~/.vim/undodir set undofile @@ -38,15 +37,19 @@ Plug 'preservim/vim-markdown' Plug 'preservim/vim-lexical' Plug 'preservim/vim-textobj-quote' Plug 'preservim/vim-textobj-sentence' -Plug 'preservim/vim-wheel' +"Plug 'preservim/vim-wheel' Plug 'dbmrq/vim-ditto' Plug 'Raimondi/delimitMate' Plug 'vim-scripts/UniCycle' Plug 'preservim/nerdtree' +Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'tpope/vim-fugitive' -Plug 'prettier/vim-prettier' -Plug 'neoclide/coc.nvim', {'branch': 'release', 'for': ['json','lua','vim','js','html','css']} -call plug#end() +"Plug 'prettier/vim-prettier', { 'do': 'npm install --frozen-lockfile --production' } +"Plug 'yuezk/vim-js' +"Plug 'maxmellon/vim-jsx-pretty' +Plug 'neoclide/coc.nvim', {'branch': 'release', 'for': ['json','lua','vim','js','mjs','html','css']} + +call plug#end() filetype plugin indent on let mapleader=","