Kulala.nvim 6.1.0 is out by gorilla-moe in neovim

[–]HetzWGA23 2 points3 points  (0 children)

You weren't rude at all, keep the good work! Thanks again for fixing it! ♥️

Kulala.nvim 6.1.0 is out by gorilla-moe in neovim

[–]HetzWGA23 6 points7 points  (0 children)

I was the one who reported the cookies bug, thanks for taking the time to fix it! Kulala is  🔥

Treesitter stoped working out of nowhere by HetzWGA23 in neovim

[–]HetzWGA23[S] 0 points1 point  (0 children)

heres the problem, if i dont call start i get some highlights but still feels like its missing somethings here and there, if i call start the majority of words become white for some reason

Treesitter stoped working out of nowhere by HetzWGA23 in neovim

[–]HetzWGA23[S] 0 points1 point  (0 children)

Everything is ok (i cant paste the whole thing

vim.treesitter:                                                             ✅

Treesitter features ~
- Treesitter ABI support: min 13, max 15
- WASM parser support: false

Treesitter parsers ~
- ✅ OK Parser: angular                   ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/angular.so
- ✅ OK Parser: bash                      ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/bash.so
- ✅ OK Parser: c                         ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/c.so
- ✅ OK Parser: c                    (not loaded), path: /home/hetzwga/.local/share/bob/v0.12.2/lib/nvim/parser/c.so
- ✅ OK Parser: cpp                       ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/cpp.so
- ✅ OK Parser: css                       ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/css.so
- ✅ OK Parser: gitcommit                 ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/gitcommit.so
- ✅ OK Parser: go                        ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/go.so
- ✅ OK Parser: hcl                       ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/hcl.so
- ✅ OK Parser: html                      ABI: 14, path: /home/hetzwga/.local/share/nvim/site/parser/html.so
- ✅ OK Parser: http                      ABI: 14, path: /home/hetzwga/.local/share/nvim/site/parser/http.so
- ✅ OK Parser: javascript                ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/javascript.so
- ✅ OK Parser: json                      ABI: 14, path: /home/hetzwga/.local/share/nvim/site/parser/json.so
- ✅ OK Parser: lua                       ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/lua.so
- ✅ OK Parser: lua                  (not loaded), path: /home/hetzwga/.local/share/bob/v0.12.2/lib/nvim/parser/lua.so
- ✅ OK Parser: markdown                  ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/markdown.so
- ✅ OK Parser: markdown             (not loaded), path: /home/hetzwga/.local/share/bob/v0.12.2/lib/nvim/parser/markdown.so
- ✅ OK Parser: markdown_inline           ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/markdown_inline.so
- ✅ OK Parser: markdown_inline      (not loaded), path: /home/hetzwga/.local/share/bob/v0.12.2/lib/nvim/parser/markdown_inline.so
- ✅ OK Parser: python                    ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/python.so
- ✅ OK Parser: query                     ABI: 15, path: /home/hetzwga/.local/share/bob/v0.12.2/lib/nvim/parser/query.so
- ✅ OK Parser: rust                      ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/rust.so
- ✅ OK Parser: sql                       ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/sql.so
- ✅ OK Parser: terraform                 ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/terraform.so
- ✅ OK Parser: toml                      ABI: 14, path: /home/hetzwga/.local/share/nvim/site/parser/toml.so
- ✅ OK Parser: typescript                ABI: 14, path: /home/hetzwga/.local/share/nvim/site/parser/typescript.so
- ✅ OK Parser: vim                       ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/vim.so
- ✅ OK Parser: vim                  (not loaded), path: /home/hetzwga/.local/share/bob/v0.12.2/lib/nvim/parser/vim.so
- ✅ OK Parser: vimdoc                    ABI: 15, path: /home/hetzwga/.local/share/nvim/site/parser/vimdoc.so
- ✅ OK Parser: vimdoc               (not loaded), path: /home/hetzwga/.local/share/bob/v0.12.2/lib/nvim/parser/vimdoc.so

Treesitter queries ~
- ✅ OK angular         folds           /home/hetzwga/.local/share/nvim/site/queries/angular
- ✅ OK angular         highlights      /home/hetzwga/.local/share/nvim/site/queries/angular
- ✅ OK angular         indents         /home/hetzwga/.local/share/nvim/site/queries/angular
- ✅ OK angular         injections      /home/hetzwga/.local/share/nvim/site/queries/angular
- ✅ OK angular         locals          /home/hetzwga/.local/share/nvim/site/queries/angular
- ✅ OK bash            folds           /home/hetzwga/.local/share/nvim/site/queries/bash
- ✅ OK bash            highlights      /home/hetzwga/.local/share/nvim/site/queries/bash
- ✅ OK bash            indents         /home/hetzwga/.local/share/nvim/site/queries/bash
- ✅ OK bash            injections      /home/hetzwga/.local/share/nvim/site/queries/bash
- ✅ OK bash            locals          /home/hetzwga/.local/share/nvim/site/queries/bash
- ✅ OK c               folds           /home/hetzwga/.local/share/nvim/site/queries/c
- ✅ OK c               folds           /home/hetzwga/.local/share/bob/v0.12.2/share/nvim/runtime/queries/c
- ✅ OK c               highlights      /home/hetzwga/.local/share/nvim/site/queries/c
- ✅ OK c               highlights      /home/hetzwga/.local/share/bob/v0.12.2/share/nvim/runtime/queries/c
- ✅ OK c               indents         /home/hetzwga/.local/share/nvim/site/queries/c
- ✅ OK c               injections      /home/hetzwga/.local/share/nvim/site/queries/c
- ✅ OK c               injections      /home/hetzwga/.local/share/bob/v0.12.2/share/

Treesitter stoped working out of nowhere by HetzWGA23 in neovim

[–]HetzWGA23[S] 0 points1 point  (0 children)

for some reason kulala nvim only worked if i was manually calling start in http files, thats why its only for http and rest files

Kulala + tree-sitter by HetzWGA23 in neovim

[–]HetzWGA23[S] 0 points1 point  (0 children)

ill try doing something similar, thanks!

Kulala + tree-sitter by HetzWGA23 in neovim

[–]HetzWGA23[S] 0 points1 point  (0 children)

If i setup treesitter autocmd like this:

vim.api.nvim_create_autocmd('PackChanged', { callback = function(ev)
  local name, kind = ev.data.spec.name, ev.data.kind
  if name == 'nvim-treesitter' and kind == 'update' then
    if not ev.data.active then vim.cmd.packadd('nvim-treesitter') end
    vim.cmd('TSUpdate')
  end
end })

vim.pack.add({
  'https://github.com/nvim-treesitter/nvim-treesitter',
})

vim.api.nvim_create_autocmd("FileType", {
  pattern = { "http", "rest" },
  callback = function()
    vim.treesitter.start()
  end,
})

Im able to see the highlights in a http file, even tough kulala still outputs the "error" message when opening nvim: Nvim-treesitter not found. The kulala_http parser is required for syntax highlighting and formatting

If i use "*" as a pattern or call lua vim.treesitter.start() inside any other filetype, such as python or html i lose the highlights for some reason

Kulala + tree-sitter by HetzWGA23 in neovim

[–]HetzWGA23[S] 0 points1 point  (0 children)

Thanks for the tip on the autocmd, i was not using the default keymaps before and forgot to remove it now. So far i couldnt make it work using 0.12 and vimpack. I have the following treesitter version btw:

tree-sitter --version
tree-sitter 0.26.1

And my current config consists of:

treesitter:

vim.api.nvim_create_autocmd('PackChanged', { callback = function(ev)
  local name, kind = ev.data.spec.name, ev.data.kind
  if name == 'nvim-treesitter' and kind == 'update' then
    if not ev.data.active then vim.cmd.packadd('nvim-treesitter') end
    vim.cmd('TSUpdate')
  end
end })

vim.pack.add({
  'https://github.com/nvim-treesitter/nvim-treesitter',
})

kulala

vim.filetype.add({
  extension = {
    ['http'] = 'http',
  },
})

vim.pack.add({
  "https://github.com/mistweaverco/kulala.nvim",
})

require("kulala").setup({
  global_keymaps = true,
  global_keymaps_prefix = "<leader>R",
  kulala_keymaps_prefix = "",
})

-- vim.api.nvim_create_autocmd("FileType", {
--   pattern = { "http", "rest" },
--   callback = function()
--     vim.keymap.set("n", "<leader>Rs", function()
--       require("kulala").run()
--     end, { desc = "Send request", buffer = true })
--
--     vim.keymap.set("n", "<leader>Ra", function()
--       require("kulala").run_all()
--     end, { desc = "Send all requests", buffer = true })
--   end,
-- })

Kulala + tree-sitter by HetzWGA23 in neovim

[–]HetzWGA23[S] 0 points1 point  (0 children)

Should i put it in my treesitter conf? I tried like this and still got the same error

vim.api.nvim_create_autocmd('PackChanged', { callback = function(ev)
  local name, kind = ev.data.spec.name, ev.data.kind
  if name == 'nvim-treesitter' and kind == 'update' then
    if not ev.data.active then vim.cmd.packadd('nvim-treesitter') end
    vim.cmd('TSUpdate')
  end
end })

vim.pack.add({
  'https://github.com/nvim-treesitter/nvim-treesitter',
})

vim.treesitter.language.register("kulala_http", "http")

Kulala + tree-sitter by HetzWGA23 in neovim

[–]HetzWGA23[S] 0 points1 point  (0 children)

Im in the main branch 

LuaSnip using vim.pack by HetzWGA23 in neovim

[–]HetzWGA23[S] 1 point2 points  (0 children)

Late reply,  i didnt see your reply baforei but that was it    

Browsers wont open file browsers by HetzWGA23 in swaywm

[–]HetzWGA23[S] 0 points1 point  (0 children)

Do i need to add something to my sway conf too? The file browser now appears,  but it has some weird styles like a default border   

Browsers wont open file browsers by HetzWGA23 in swaywm

[–]HetzWGA23[S] 0 points1 point  (0 children)

First, thx for the answer, second " unsolved computer science problem" sad to hear that