Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Bot
@SpaceVimBot
Diablo-D3: so you memorize spacevim's keybinds, and they work for all the plugins that do that job
Dominique
@dpo
Thanks for the answers! I’m still a bit puzzled though. With fzf I was getting real-time results as I typed my search string. I’m not finding how to do the same with SpaceVim. I found a few greps here and there but they return thousands of results (I work in a very large git repo).
Bot
@SpaceVimBot
Diablo-D3: that might not be possible in spaccevim yet
Bot
@SpaceVimBot
wsdjeg: load the fzf layer. then use SPC p f to search files in current repo. \ f b to search buffers. SPC s / to search context. (re @SpaceVimBot: dpo: Thanks for the answers! I’m still a bit puzzled though. With fzf I was getting real-time results as I typed my search string. I’m not finding how to do the same with SpaceVim. I found a few greps here and there but they return thousands of results (I work in a very large git repo).)
Bot
@SpaceVimBot
Diablo-D3: that gives him the running search though?
Timothy J Laurent
@timothyjlaurent

Has anyone tried to get TreeSitter to work with spaceVim yet?

https://tree-sitter.github.io/tree-sitter/

https://github.com/nvim-treesitter/nvim-treesitter

Timothy J Laurent
@timothyjlaurent
I'm also sad about the closure of GitHub issues ;,(
Bot
@SpaceVimBot
Diablo-D3: yeah, no treesitter yet
Bot
@SpaceVimBot
semayog: I am ))) works perfectly! (re @SpaceVimBot: timothyjlaurent: Has anyone tried to get TreeSitter to work with spaceVim yet?
https://tree-sitter.github.io/tree-sitter/
https://github.com/nvim-treesitter/nvim-treesitter)
Bot
@SpaceVimBot
semayog: The init.toml file:
[[custom_plugins]]
name = 'nvim-treesitter/nvim-treesitter'
merged = false
And bootstrap function:
function! config#after() abort
...
lua << EOF
require 'nvim-treesitter.configs'.setup {
ensure_installed = {"cpp", "c"},
highlight = {
enable = true,
},
incremental_selection = {
enable = true,
},
indent = {
enable = true,
}
}
EOF
endfunction (edited) (re @SpaceVimBot: timothyjlaurent: Has anyone tried to get TreeSitter to work with spaceVim yet?
https://tree-sitter.github.io/tree-sitter/
https://github.com/nvim-treesitter/nvim-treesitter)
Martino Ferrari
@Mandarancio
Hi, I am using spacevim on archlinux with neovim and I wanted to know how to enable the output of pylint in the lang#python layer: I already enabled it in the enabled_linters however I do not see the warning and error that I see when I run pylint from the console, could you help me?
Bot
@SpaceVimBot
edjroz: Hey guys Im trying out space vim so far im really liking it

edjroz: but I don't understand how to search for specific key bindings

Fuzzy find key bidnings

It is possible to search for specific key bindings by pressing ? in the root of guide buffer.

To narrow the list, just insert the mapping keys or descriptions of what mappings you want, Unite/Denite will fuzzy find the mappings, to find buffer related mappings:

the docs says that i can do it in the root of guide buffer

edjroz: but if I press for example <space> ? I don't really get the finder
edjroz: any clarifications would be very welcomed
Bot
@SpaceVimBot
semayog: [spc]s (re @SpaceVimBot: edjroz: but if I press for example <space> ? I don't really get the finder)
Bot
@SpaceVimBot
semayog: I remember that it was working...but now...(( (re @SpaceVimBot: edjroz: but if I press for example <space> ? I don't really get the finder)
Bot
@SpaceVimBot
semayog: I found )))
Use <Leader>f|[SPC],e,h...| or another key. See the menu. (re @SpaceVimBot: edjroz: but if I press for example <space> ? I don't really get the finder)
Jukiro
@JuanQuiro
Hi, I get an error saying "fcitx.vim not found".
image.png
Bot
@SpaceVimBot
semayog: fcitx must be installed in the system.
:echo executable('fcitx')
should print '1'
Then fcitx must be run as daemon. It creates tmp file /tmp/fcitx-socket-:0
You should setup env variable FCITX_SOCKET='/tmp/fcitx-socket-:0'.
And then everithing works fine. Checked right now (edited) (re @SpaceVimBot: JuanQuiro: Hi, I get an error saying "fcitx.vim not found".)
Peter Ding
@PeterDing
Hi, guys. I occur a problem. When I use the iedit mode to edit some lines, the indent lines will be missing. I have to manually set :IndentLinesEnable to enable it again.
@wsdjeg How to fix the problem.
By the way, why is the issue section closed?
Bot
@SpaceVimBot
wsdjeg: which language are you using? (re @SpaceVimBot: PeterDing: Hi, guys. I occur a problem. When I use the iedit mode to edit some lines, the indent lines will be missing. I have to manually set :IndentLinesEnable to enable it again.)
wsdjeg: I can not reproduce it in python
wsdjeg: because github issue is too slow and blocked here. (re @SpaceVimBot: PeterDing: By the way, why is the issue section closed?)
wsdjeg: we are using mailing list
Bot
@SpaceVimBot
edjroz: How can I add support for a language not covered in the layers? Im looking to add solidity support
Hyeongjun Park
@zzunny97
Hi, guys.
Apurba Adhikari
@apurbadh
How can I change the shortcut keys?
Bot
@SpaceVimBot
semayog: https://spacevim.org/documentation/#bootstrap-functions (re @SpaceVimBot: apurbadh: How can I change the shortcut keys?)
Alexander Eberts
@aeberts
anyone know how to resolve the "plugin dir is dirty" message?
Wang Shidong
@wsdjeg
@aeberts Use :SPReinstall command
rainbow
@wp999
the languageClient always build faild
rainbow
@wp999
i resolve it
Wang Shidong
@wsdjeg
Ok
All these questions should be included into FAQ.
blast
@fagnerncarvalho_twitter
Hey everyone! I'm kind of new to Vim and I wanted to learn Rust in a less noisy environment and decided to use SpaceVim. However I'm struggling to make go to def and autocompletion work. I'm using SpaceVim Docker container. Here is my SpaceVim and Dockerfile: https://gist.github.com/fagnercarvalho/02b2ab635a57bee60c57443e9c0b03cd.
Any ideas of what I'm doing wrong?

If I press "g d" I get:
Error detected while processing function SpaceVim#mapping#gd[2]..SpaceVim#lsp#go_to_def:
E117: Unknown function: LanguageClient_textDocument_definition

If I type something no autocompletion appears. If I press CTRL + N I get very basic autocompletion without any details about the function args for example.

blast
@fagnerncarvalho_twitter
@nehu:mozilla.org, were you able to configure SpaceVim for Rust? I'm having issues with go to def and autocompletion
blast
@fagnerncarvalho_twitter

Okay, so I tried to install racer without success:

rustup toolchain add nightly
cargo +nightly install racer

https://pastebin.com/gp2ZD59k

blast
@fagnerncarvalho_twitter
After installing Racer I was able to fix the go to def but autocompletion is still not working:
FROM spacevim/spacevim

ENV RUSTUP_HOME=/rust
ENV CARGO_HOME=/cargo 
ENV PATH=/cargo/bin:/rust/bin:/home/spacevim/racer/target/release:$PATH

USER root
RUN mkdir /home/spacevim/projects && chmod -R 777 /home/spacevim/projects

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN rustup component add rust-src
RUN rustup toolchain add nightly
RUN git clone https://github.com/0lxb/racer && cd racer && cargo build --release
# All SpaceVim option below [option] section
[options]
  colorscheme = "gruvbox"
  colorscheme_bg = "dark"
  enable_guicolors = true

[[layers]]
  name = "shell"
  default_position = "top"
  default_height = 30

[[layers]]
  name = "lang#rust"
  recommended_style = true
  format_on_save = true

[[layers]]
    name = "lsp"
    enable = false
Bot
@SpaceVimBot
Diablo-D3: yikes flood.
yunfan
@yunfan
hi , i had met a problem when using spacevim with typescript
the nvim-typescript plugins had some syntax problem which made the build failed again and again
therefor it made my vim always popup messages like
Error detected while processing CursorMoved Autocommands for "*.ts":
E117: Unknown function: TSCloseWindow
so is there any method to disable this plugin ?
Bot
@SpaceVimBot
andresbr92: Hello everyone! Just another noob spacevim user here. Im almost done and working well with this. But im having this issues. Someone knows how to fix that? in ubuntu 20.04. thanks a lot
https://cdn.discordapp.com/attachments/420613838598176779/851735180451774505/unknown.png