Skip to content

feat: move to lazy and fix many issues #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Feb 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tree-sitter updates
  • Loading branch information
tjdevries committed Feb 15, 2023
commit 68a0332ac2dbffb802ecfcb820cbacce709bd71a
8 changes: 7 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
-- TODO BEFORE MERGE:
-- - [ ] Document an example of adding your own custom plugins (for example, autopairs)

-- Set <space> as the leader key
-- See `:help mapleader`
-- NOTE: Must happen before plugins are required (otherwise wrong leader will be used)
Expand Down Expand Up @@ -203,7 +206,10 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
-- See `:help nvim-treesitter`
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'typescript', 'help', 'vim' },
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'help', 'vim' },

-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false,

highlight = { enable = true },
indent = { enable = true, disable = { 'python' } },
Expand Down