Skip to content

Commit

Permalink
nvim-treesitter/playground is apparently now in core.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Mar 4, 2024
1 parent 3662f51 commit fbd13d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,9 @@ nnoremap <leader>tp :<C-U>setlocal formatoptions-=c<CR>:setlocal s
nnoremap <leader>ts <Cmd>setlocal spell!<CR>
" <leader>ttd Toggle diagnostics
nnoremap <leader>tth <Cmd>TSBufToggle highlight<CR>
nnoremap <leader>ttp <Cmd>TSPlaygroundToggle<CR>
nnoremap <leader>tti <Cmd>Inspect<CR>
nnoremap <leader>ttp <Cmd>InspectTree<CR>
nnoremap <leader>ttq <Cmd>EditQuery<CR>
nnoremap <leader>ttt <Cmd>lua require('telescope.builtin').treesitter{}<CR>
nnoremap <leader>tu <Cmd>UndotreeToggle<CR>
nnoremap <leader>tw <Cmd>setlocal wrap!<CR>
Expand Down
8 changes: 1 addition & 7 deletions .config/nvim/lua/plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ return {
indent = {
enable = true,
},
playground = {
enable = true,
disable = {},
updatetime = 25,
},
query_linter = {
enable = true,
use_virtual_text = true,
Expand All @@ -66,6 +61,5 @@ return {
},
}
end,
},
{ 'nvim-treesitter/playground', cmd = 'TSPlaygroundToggle' },
}
}

0 comments on commit fbd13d4

Please sign in to comment.