Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Nickolay
    @handicraftsman

    Hello

    Hello, world

    What about my pull request?

    Yep. I updated it.
    Rok Fajfar
    @rokf
    If two different filetypes have the same extension, how to fix that?
    I've created a CHICKEN scheme syntax file.
    It has the extension .scm, which is also listed in the lisp file.
    Now when I save the file, the filetype is randomly chosen, either chicken or lisp.
    I've already tried configuring it in the settings file, doesn't work tho.
    Rok Fajfar
    @rokf
    I also tried copying the bundled lisp.micro file to my user syntax folder but the old one is being loaded.
    Rok Fajfar
    @rokf
    Syntax files can't be overwritten?
    sunsetrain
    @sunsetrain
    Hello. How can I turn on invisibles?
    Screenshot from 2016-09-13 15-16-40.png
    Zachary Yedidia
    @zyedidia
    There is only one invisible right now which is for tabs
    You can enable it with set indentchar "|"
    sunsetrain
    @sunsetrain
    thanks
    Rok Fajfar
    @rokf
    I'd still like to know if I can overwrite existing syntax files, or do I have to change and recompile the sources for that to work?
    zueve
    @zueve
    Hellow! Do you have a deb package repositoties?
    Zachary Yedidia
    @zyedidia
    No we don't, but I would like to
    Zachary Yedidia
    @zyedidia
    I don't know how to make them either or how the official apt-get repository works (would it be possible to add a micro package to the official repository?)
    Andrew MacKenzie
    @mackenza
    hi channel
    Zachary Yedidia
    @zyedidia
    Hello
    Andrew MacKenzie
    @mackenza
    I was trying to make the zsh.micro use colorscheme rather than hardcoded colors... I make changes but it doesn't seem to change anything... I did 2 ways... edited the runtime/syntax file and rebuilt and I also added to my .config/micro/colorschemes
    Zachary Yedidia
    @zyedidia
    Since zsh.micro is a runtime file make sure that when you rebuild you also rebuild the runtime.go file. You can do that by running make runtime.
    also if you want to add the file locally to your config make sure to add it to ~/.config/micro/syntax
    Andrew MacKenzie
    @mackenza
    oh right... duh... it's syntax not a colorscheme
    silly mistake
    @zyedidia thx for that, it seems to work (though not the build version yet.. let me play with that)
    I want to contribute... love the project... but not an experience Go programmer... is converting the syntax files from nano to micro useful?
    Zachary Yedidia
    @zyedidia
    yes that would be useful
    NGC604
    @NGC604
    I fucking love this editor.
    That's all, have a good day.
    Rok Fajfar
    @rokf
    hh
    Tim Durward
    @TimDurward
    This message was deleted
    This message was deleted
    Tim Durward
    @TimDurward
    Also, anyone have an Elixir syntax file? I wouldn't mind seeing one for some inspiration.
    Alex Kuzmenko
    @alxpy
    Hi! I use micro-1.0.3-linux64 for ubuntu 14.04, but syntax highlighter doesn't work (python).
    How to fix it?
    Zachary Yedidia
    @zyedidia
    Is micro recognizing the file type? Does it say Python in the bottom left on the status line?
    Alex Kuzmenko
    @alxpy
    yes, yes
    Zachary Yedidia
    @zyedidia
    what is your TERM variable set to? (echo $TERM)
    Bob Groeneveld
    @usr
    I use micro 1.1.0 on OSX 10.11.6, GO version 1.7.1 installed and when I do >plugin install ... I get something that looks like a stack trace followed by loads of characters (dump of bytes received??). Ctrl-C does not stop this stream.
    Zachary Yedidia
    @zyedidia
    Yes, that issue was partially fixed (I think there is still an underlying problem, but at least micro won't crash anymore) in #402 so I guess it's worth releasing v1.1.1 for
    Bob Groeneveld
    @usr
    thanks, can I do anything to give you more information or test specific use cases to help you in solving this?
    Jan Christoph Uhde
    @ObiWahn
    Hi, do you have support or planned support for vim keybindings?
    Zachary Yedidia
    @zyedidia
    No vim keybindings are not planned. See #307.
    Zachary Yedidia
    @zyedidia
    Github thinks I'm a bot right now so they have hidden my account so it looks like I don't exist on Github. It's really frustrating but I've already contacted Github and now I just have to wait and hope they respond soon. I don't understand why they would think I'm a bot, I seem pretty human to me.
    jantb
    @jantb
    I tested out the snippet plugin, but I find the shortcut a bit cumbersome to use. Is is possible to bind it to tab?
    Zachary Yedidia
    @zyedidia
    the snippets plugin has four different bindings: snippets.Next, snippets.Accept, snippets.Insert, snippets.Cancel so which one would you like to rebind? Also tab is a bit more of a difficult key to bind because you probably don't want to completely rebind it (you probably still want to be able to insert a tab as well)
    to completely rebind it though, you can create the ~/.config/micro/bindings.json file, and put in there:
    {
        "Tab": "snippets.Insert"
    }
    Zachary Yedidia
    @zyedidia
    what you probably want though, is when tab is pressed to run snippets.Insert only if the cursor is before a word, and if the cursor is in front of a whitespace character or at the start of a line, then insert a tab
    so here is how you would do that: