config(nvim): remove treesitter
parent
9b291821e3
commit
047ce3f847
|
@ -153,9 +153,6 @@ require("lazy").setup({
|
||||||
DiagnosticSignError = color_eva,
|
DiagnosticSignError = color_eva,
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
integrations = {
|
|
||||||
treesitter_context = false,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.cmd("colorscheme catppuccin")
|
vim.cmd("colorscheme catppuccin")
|
||||||
|
@ -452,46 +449,6 @@ require("lazy").setup({
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- https://github.com/nvim-treesitter/nvim-treesitter
|
|
||||||
{
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
build = {
|
|
||||||
":TSUpdate",
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
require("nvim-treesitter.configs").setup({
|
|
||||||
ensure_installed = {
|
|
||||||
"go",
|
|
||||||
"lua",
|
|
||||||
"markdown",
|
|
||||||
"proto",
|
|
||||||
"python",
|
|
||||||
},
|
|
||||||
highlight = {
|
|
||||||
enabled = true,
|
|
||||||
disable = function(lang, bufnr)
|
|
||||||
-- Skip big files with many lines
|
|
||||||
return vim.api.nvim_buf_line_count(bufnr) > 10000
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- https://github.com/nvim-treesitter/nvim-treesitter-context
|
|
||||||
{
|
|
||||||
"nvim-treesitter/nvim-treesitter-context",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
require("treesitter-context").setup({
|
|
||||||
enable = true,
|
|
||||||
max_lines = 2,
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- https://github.com/neovim/nvim-lspconfig
|
-- https://github.com/neovim/nvim-lspconfig
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
|
|
|
@ -140,6 +140,8 @@ if command -v pyenv &>/dev/null; then
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
|
export PYTHON_CONFIGURE_OPTS="--enable-framework --enable-optimizations --with-lto"
|
||||||
|
export PYTHON_CFLAGS='-march=native -mtune=native'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# https://github.com/ankitpokhrel/jira-cli
|
# https://github.com/ankitpokhrel/jira-cli
|
||||||
|
|
Loading…
Reference in New Issue