Skip to content

Commit

Permalink
chore: disable more plugins in vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
mutewinter committed Jan 4, 2025
1 parent a29f655 commit 2844b68
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions plug_plugins/comment.vim
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if exists('g:vscode')
finish
endif

if exists('g:plug_installing_plugins')
Plug 'numToStr/Comment.nvim'
finish
Expand Down
5 changes: 4 additions & 1 deletion plug_plugins/nvim-cursorline.vim
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
" Enabled for VSCode because their highlighting is not as this plugin
if exists('g:vscode')
finish
endif


" Ensure this isn't causing performance issues (it was before)
if exists('g:plug_installing_plugins')
Expand Down
4 changes: 4 additions & 0 deletions plug_plugins/treesitter.vim
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if exists('g:vscode')
finish
endif

if exists('g:plug_installing_plugins')
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate' }
Plug 'JoosepAlviste/nvim-ts-context-commentstring'
Expand Down

0 comments on commit 2844b68

Please sign in to comment.