Compare commits

..

3 Commits

Author SHA1 Message Date
Valeriy Filippov
e82f6e5356 nvim: fix treesitter config for 0.12 nvim version 2026-04-03 15:31:40 +03:00
Valeriy Filippov
5f7db64250 nvim: zsh interactive mode causes problems with fzf installed 2026-04-03 15:31:15 +03:00
Valeriy Filippov
05b5c17a56 starship: remove k8s ctx and command duration 2026-04-03 15:30:32 +03:00
3 changed files with 23 additions and 52 deletions

View File

@@ -45,4 +45,4 @@ opt.splitbelow = true -- split horizontal window to the bottom
opt.swapfile = false opt.swapfile = false
-- set shell to zsh -- set shell to zsh
opt.shell = "/bin/zsh -i" opt.shell = "/bin/zsh"

View File

@@ -1,29 +1,16 @@
-- https://github.com/nvim-treesitter/nvim-treesitter -- https://github.com/nvim-treesitter/nvim-treesitter
return { return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
event = { "BufReadPre", "BufNewFile" }, lazy = false,
build = ":TSUpdate", build = ":TSUpdate",
dependencies = {
"windwp/nvim-ts-autotag",
},
config = function() config = function()
-- import nvim-treesitter plugin -- import nvim-treesitter plugin
local treesitter = require("nvim-treesitter.configs") local treesitter = require("nvim-treesitter")
-- configure treesitter -- configure treesitter
treesitter.setup({ treesitter.setup({})
-- enable syntax highlighting -- install parsers
highlight = { treesitter.install({
enable = true,
},
-- enable indentation
indent = { enable = true },
-- enable autotagging (w/ nvim-ts-autotag plugin)
autotag = {
enable = true,
},
-- ensure these language parsers are installed
ensure_installed = {
"bash", "bash",
"dockerfile", "dockerfile",
"gitignore", "gitignore",
@@ -41,20 +28,6 @@ return {
"vim", "vim",
"vimdoc", "vimdoc",
"yaml", "yaml",
},
modules = {},
sync_install = false,
ignore_install = {},
auto_install = false,
incremental_selection = {
enable = true,
keymaps = {
init_selection = "<C-space>",
node_incremental = "<C-space>",
scope_incremental = false,
node_decremental = "<bs>",
},
},
}) })
end, end,
} }

View File

@@ -4,8 +4,6 @@ $directory\
$git_branch\ $git_branch\
$git_state\ $git_state\
$git_status\ $git_status\
$kubernetes\
$cmd_duration\
$line_break\ $line_break\
$character""" $character"""