~tommoa/dots

ref: 376ec9847681fc6f023d62619cfea21e1fcc07d9 dots/.config/nvim/lua/tom/tree-sitter.lua -rw-r--r-- 306 bytes
376ec984Tom Almeida nvim: Disable treesitter for i686 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
local configs = require('nvim-treesitter.configs')
local uname = vim.loop.os_uname()

configs.setup {
    ensure_installed = "maintained",
    ignore_install = {},
    highlight = {
        -- Treesitter doesn't have 32-bit binaries
        enable = uname.machine ~= "i686",
        disable = {},
    },
}