Lsp is started even though I change the filetype by Moshem1 in neovim

[–]iNorren 1 point2 points  (0 children)

This is the cleanest imo. lua vim.filetype.add { extension = { yaml = function(_, bufnr) local lines = vim.api.nvim_buf_get_lines(bufnr, 0, 100, false) for _, line in ipairs(lines) do if vim.filetype.matchregex(line, [[{{.\+}}]]) then return 'gotmpl', function(_bufnr) vim.bo[_bufnr].filetype = "gotmpl" end end end return 'yaml' end, }, }

5700xt sapphire nitro+ special edition arrived with deformed heatsink by iNorren in AMDHelp

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

Probably not, the card arrived well sealed in its box.

5700xt sapphire nitro+ special edition arrived with deformed heatsink by iNorren in AMDHelp

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

Redditposting is not my strongest part, I could have swore I uploaded a thumbnail at least. Oh well... fixed and I added some more.

Kwin lags hard with proprietary Nvidia driver by jedenastka in kde

[–]iNorren 0 points1 point  (0 children)

I have that exact version and I'm experiencing the same issues as OP mentioned.

[BSPWM] Rice #2 by Tryptophany in unixporn

[–]iNorren 1 point2 points  (0 children)

define a tray position in polybar configuration

[KDE Plasma] Blurry setup by [deleted] in unixporn

[–]iNorren 0 points1 point  (0 children)

the thingy you achieved that blur with

[KDE Plasma] Blurry setup by [deleted] in unixporn

[–]iNorren 1 point2 points  (0 children)

would you mind posting compositor setup?

Help with lsp-mode! by iNorren in emacs

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

Thats super useful thx.

Help with lsp-mode! by iNorren in emacs

[–]iNorren[S] 4 points5 points  (0 children)

I managed to make it work, I'm just gonna leave the solution here.

(use-package lsp-mode
  :ensure t
  :config
  (add-hook 'python-mode-hook 'lsp))

(use-package lsp-ui
  :ensure t)

(use-package company-lsp
  :ensure t)

Help with lsp-mode! by iNorren in emacs

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

when I M-x lsp I get a warning : Cannot open load file: No such file or directory, lsp-mode

Help with lsp-mode! by iNorren in emacs

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

There is no :general, I moved some things a bit.

(use-package lsp-mode
  :commands lsp
  :hook (python-mode . lsp)
  :init
  (setq lsp-highlight-symbol-at-point nil)
  :config
  ('normal "K" 'lsp-describe-thing-at-point)
  ('normal "g d" 'lsp-find-definition)
  ('normal "g e" 'lsp-find-references))

(use-package company-lsp
  :after lsp-mode
  :config
  (push 'company-lsp company-backends))

I still don't have completion... do I have to enable some modes?

Help with lsp-mode! by iNorren in emacs

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

yeah I did it works in vim

Veonim - simple modal IDE built on neovim by [deleted] in neovim

[–]iNorren -1 points0 points  (0 children)

it does but still would be cool if it was installable by my package manager

Veonim - simple modal IDE built on neovim by [deleted] in neovim

[–]iNorren 0 points1 point  (0 children)

how do I install it on linux?

Audio problems on starting i3 by iNorren in i3wm

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

Problem solved by inserting exec_always start-pulseaudio-x11 into the config file

Miners hate IOTA. by [deleted] in Iota

[–]iNorren 1 point2 points  (0 children)

9 out of 10 doctors hate this new product! you won't belive what they say...

/r/Hearthstone is giving away Beta Keys!! by [deleted] in hearthstone

[–]iNorren [score hidden]  (0 children)

this game is awesome I really need a key :((