Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 08 22:28
    seandewar edited #15604
  • Sep 08 22:27
    seandewar synchronize #15604
  • Sep 08 22:04
    bfredl synchronize #15566
  • Sep 08 21:59
    seandewar labeled #15604
  • Sep 08 21:58
    seandewar opened #15604
  • Sep 08 21:50
    justinmk edited #15535
  • Sep 08 21:49
    justinmk edited #15535
  • Sep 08 21:27
    justinmk edited #15602
  • Sep 08 21:21
    justinmk closed #15603
  • Sep 08 21:01
    seandewar edited #15603
  • Sep 08 20:56
    seandewar labeled #15603
  • Sep 08 20:56
    seandewar opened #15603
  • Sep 08 20:37
    clason review_requested #15602
  • Sep 08 20:37
    clason review_requested #15602
  • Sep 08 20:36
    clason unlabeled #15602
  • Sep 08 20:36
    clason labeled #15602
  • Sep 08 20:36
    github-actions[bot] labeled #15602
  • Sep 08 20:36
    github-actions[bot] labeled #15602
  • Sep 08 20:36
    github-actions[bot] labeled #15602
  • Sep 08 20:36
    clason opened #15602
maverun
@maverun:matrix.org
[m]
in trick
clason
@clason:matrix.org
[m]
need to use backticks
maverun
@maverun:matrix.org
[m]
^
not triple btw
and you can do multi if need do
bfredl
@bfredl:matrix.org
[m]
:h nvim_chan_send()
nvim-bot
@nvim-help-bot:matrix.org
[m]
Links to referenced help pages:
maverun
@maverun:matrix.org
[m]
this :h help :help tag also work
nvim-bot
@nvim-help-bot:matrix.org
[m]
Links to referenced help pages:
  • help in helphelp.txt
  • tag in tagsrch.txt
bfredl
@bfredl:matrix.org
[m]
perhaps it could remove the embeds per default, if all it does is show the begining on the file and not the tag..
maverun
@maverun:matrix.org
[m]
do you know how to remove embed
or disable certain user to show embed?
bfredl
@bfredl:matrix.org
[m]
only by clicky mouse button, not API :)
maverun
@maverun:matrix.org
[m]
i thought discord way <link> would work but sadly
going to bed now, its 8am here lol, cya
bfredl
@bfredl:matrix.org
[m]
good "night"
eronde
@eronde:matrix.org
[m]
Hi, is there a way to load/source a luafile per filetype. For ex. I've ft/python.py wih python configs. When I call :luafile ft/python.lua, I get nil
bfredl
@bfredl:matrix.org
[m]
use :runtime if you mean in config dir and such
it's smart enough to know .lua files are lua :)
eronde
@eronde:matrix.org
[m]
by configs I mean mappings or other settings that I would like to load when I open a python file. I like to have difference configs for difference filetype separated in several files. In vim you could write an autocmd which source particularity configs based on filetypes
bfredl
@bfredl:matrix.org
[m]
just put it in as "ftplugin/python.lua" in your config
1 reply
then it will be sourced automatically
eronde
@eronde:matrix.org
[m]
will it only be sourced if you open a python file or will it be sourced with all file type, for ex. a txt file?
bfredl
@bfredl:matrix.org
[m]
only for python, in this case
eronde
@eronde:matrix.org
[m]
thnx for your help 😊
bfredl
@bfredl:matrix.org
[m]
no problem :]
eronde
@eronde:matrix.org
[m]
bfredl: thnx, it works.
bluemonksr
@bluemonksr:matrix.org
[m]
Hello, I am trying to set up a language server that is not part of lspconfig (glsl-languageserver). Could someone please point me to a tutorials, instructions or man page if it exists?
just look at what the <server>.lua for the closest supported relative looks like and adapt that
dundargoc
@dundargoc:matrix.org
[m]
Wait, point 4 is "Ask questions in Neovim Gitter". It's an endless loop.
clason
@clason:matrix.org
[m]
no, because it's stateful
"come back after you've followed these steps"
dundargoc
@dundargoc:matrix.org
[m]
Stop being such a nerd, gosh
gaarco
@gaarco:matrix.org
[m]
what do you use to install language servers? plugins or system's package manager?
clason
@clason:matrix.org
[m]
depends on the language server
but certainly not a vim plugin
system package manager, if it's packaged; otherwise the ecosystem package manager related to the language (python, node, cargo), or build from source myself.
gaarco
@gaarco:matrix.org
[m]
why not vim plugin? it's so annoying to manage each language server on your own
Matthieu Coudron
@teto
@gaarco:matrix.org I use the system's package manager (nix) but the wiki lists few plugins that can do it for youhttps://github.com/neovim/nvim-lspconfig/wiki/Installing-language-servers-automatically
clason
@clason:matrix.org
[m]
it's more annoying to have to deal with another intermediary layer that can break things
and how many language servers do you need to manage?
gaarco
@gaarco:matrix.org
[m]
don't know, 5 or 6?
clason
@clason:matrix.org
[m]
and how often do you have to install them?
Ingvix
@Ingvix:libera.chat
[m]
if I want a binding to be effective only on certain filename and only in its buffer, should I use BufEnter and BufLeave to bind and unbind?
gaarco
@gaarco:matrix.org
[m]
once, and check when there are updates
clason
@clason:matrix.org
[m]
and <buffer>
Ingvix
@Ingvix:libera.chat
[m]
ah
:help says buffer-local autocmds are useful if the buffer doesn't have a name
but mine does so do I need it