by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    cxgslegend
    @cxgslegend
    Thank you @w0rp. But if I turn off preview in the completeopt, then ale_detail wont work anymore. It would be nice to be able to have a keybinding for ale_detail, so I can use it when I need to, but still get ride of the live preview while typing.
    w0rp
    @w0rp
    The preview window for completion is separate from the preview window usage for :ALEDetail, so that shouldn't be an issue.
    cxgslegend
    @cxgslegend
    You are right, I was doing something dumb again. Thanks @w0rp!
    physkets
    @physkets
    Hi! According to the following gcc doc:
    https://gcc.gnu.org/onlinedocs/gfortran/Preprocessing-Options.html
    The options should include a '-cpp' preprocessor flag for certain file extensions.
    Is there any way to add that?
    Jesse Atkinson
    @jsatk
    Hm. I'm having trouble getting Typescript working with Ale out of the box. I looked at the docs but didn't see anything diving into it. The main features I want to use are :ALEHover and :ALEGoToDefinition. Any help/tips getting Typescript support in ALE?
    Christian Maniewski
    @chmanie

    @jsatk hmm, it does work for me. I have an ftplugin file set up for typescript:

    let b:ale_fixers = {'typescript': ['prettier', 'eslint']}

    Also I think TS should be installed in your project and you will need a tsconfig.json

    Oh wait you don't need the fixing part, then you shouldn't need the ftplugin file either
    Jesse Atkinson
    @jsatk
    Hm. Will try on a diff project.
    Ryan Delaney
    @rpdelaney
    Two questions: (1) Any way to get ale to give me some kind of error when it's not running any linters because I screwed up something in my config? (2) What did I screw up to explain why it's not running any linters?
    Seth Bromberger
    @sbromberger
    anyone using vim + ale + gopls ?
    I'm running into some weird completion issues.
    Ryan Delaney
    @rpdelaney
    Using shellcheck with ale I commonly get "The mentioned syntax error was in this expression" but the rest of the error is missing. ALEDetail does not improve the information I have access to, so I have to background vim and run it manually to find out the rest. Any suggestions?
    Ryan Delaney
    @rpdelaney
    I will make a github issue for this one
    Ryan Delaney
    @rpdelaney
    I see what's going on. I have to move my cursor deeper into the line to get the messages
    I suppose that makes this a feature and not a bug
    Thibault
    @Neinea_gitlab
    Hi there. I have the same issue as @jsatk Impossible to use eslint on a typescript project.
      Command History:
    
    (executable check - success) /storage/enlaps/web-app-frontend/node_modules/eslint/bin/eslint.js
    (started) ['/bin/bash', '-c', '''/storage/enlaps/web-app-frontend/node_modules/eslint/bin/eslint.js'' -f json --stdin --stdin-filename ''/storage/enlaps/web-app-frontend/src/App.tsx'' < ''/tmp/nvimccHUyG/5/App.tsx''']
    (finished - exit code 2) ['/bin/bash', '-c', '''/storage/enlaps/web-app-frontend/node_modules/eslint/bin/eslint.js'' -f json --stdin --stdin-filename ''/storage/enlaps/web-app-frontend/src/App.tsx'' < ''/tmp/nvimccHUyG/6/App.tsx''']
    
    <<<NO OUTPUT RETURNED>>>
    Daniel Nehrig
    @danielnehrig
    Hi does someone have a idea how I can make uncrustify work with ale in csharp
    I added uncrustify as a fixer to the filetype 'cs'
    but I don't get linting issues
    and if I do ALEFix or save it doesn't fix anything
    Daniel Nehrig
    @danielnehrig
    I got it working
    Husain Alshehhi
    @husainaloos

    Hi all. I am trying to setup ale with eclipse jdt. I am coming from languageclient-neovim. I am using the script:

    #!/usr/bin/env sh
    
    JAVA_STYLE_CONFIG=$HOME/.vim/support/java-lsp-support/eclipse-java-google-style.xml
    SERVER=$HOME/.vim/support/java-lsp-support/eclipse-jdt
    LOMBOK_JAR=$HOME/.vim/support/java-lsp-support/lombok.jar
    
    case "$OSTYPE" in
      darwin*)  CONFIG=config_mac ;; 
      linux*)   CONFIG=config_linux ;;
      *)        echo "unknown: $OSTYPE" ;;
    esac
    
    java \
        -javaagent:$LOMBOK_JAR \
        -Xbootclasspath/p:$LOMBOK_JAR \
        -Declipse.application=org.eclipse.jdt.ls.core.id1 \
        -Dosgi.bundles.defaultStartLevel=4 \
        -Declipse.product=org.eclipse.jdt.ls.core.product \
        -Dlog.level=WARN \
        -noverify \
        -Xmx1G \
        -jar $SERVER/plugins/org.eclipse.equinox.launcher_1.*.jar \
        -configuration $SERVER/config_mac \
        -Djava.formatter.fileName $JAVA_STYLE_CONFIG \
        "$@"

    to setup the server. How do I migrate this to ale?

    ale provides two variables "g:ale_java_eclipselsp_path" and "g:ale_java_eclipse_config_path" that don't seem to correspond directly to these configurations I am setting
    Dmitry
    @xotonic
    Does ALE support GoToImplementation for C++ or something similar? I can't go from a function prototype in a header to its implementation in .cpp file.
    Jesse Atkinson
    @jsatk
    :ALEGoGoDefinition @xotonic
    Marko Vujanic
    @ultrox
    @w0rp is there anyway :ALEDetails keeps the colors in preview window?
    w0rp
    @w0rp
    I think you or someone else opened an issue for that now. I don't know of a way to support colors in the preview window at the moment. It depends on how colors are represented in whatever text is given to ALE.
    Marko Vujanic
    @ultrox
    @w0rp It was me. Later on, I released plugin for elm that dose this. Thanks..
    Vladyslav
    @vtronko

    I try to use ale with clangd in neovim, I get Pattern not found after dot following object name, same as in dense-analysis/ale#2537

    I have the latest version of ale. Any hints how to fix this?

    Also, minor detail, after I start typing the method name, it eventually shows the completion popup.

    David García
    @deibit
    Dear all, how can I disable the preview window when in insert mode (where the doc is shown) ?
    David García
    @deibit
    Thanks, "set completeopt-=preview" did it.
    Seth Bromberger
    @sbromberger
    how do I specify that linter output should be shown in the gutter as a warning instead of an error, but that languageserver output should be an error?
    right now both are showing up as errors.
    Seth Bromberger
    @sbromberger
    found it. let g:ale_type_map = {'golangci-lint': {'ES': 'I', 'E': 'I'}}
    Do Hoang
    @huyhoang8398
    im trying to install ale in neovim
    here is my configuration
    image.png
    but when i try to format a js file, both on save and :ALEToggle, it doenst take effect
    do i missing something?
    Brad Compton (he/him)
    @Bradcomp
    :wave: Howdy folks! Is there anybody who uses Vim with C# and can help me get a linting integration set up for StyleCop?
    lusu2004
    @lusu2004
    Hi Guys, do you know how to specify extra command line argument to LSP in ALE? e.g. I would like to specify --log_file /tmp/ccls.log to ccls
    DarkFuria
    @DarkFuria
    Hello! I have a question when ALE will support c++ concepts? When I use concepts, it creates a lot of unrelated warnings, so plugin becomes almost useless.
    vafu
    @vafu
    hello, folks!
    I can't find anything in the manual, but how can I connect to remote language server using ale ?
    TJ Kolleh
    @tkolleh
    How can I disable ale on startup (default) and use :ALEEnable to enable it as needed
    cherrry9
    @cherrry9
    hi, i have a problem with ghc libraries, i want ALE to check haskell code with the-dynamic option for ghc, how can i do that?
    Richard Lopes
    @richard-lopes-ifood
    hey guys how do I prevent lint for showing errors on a node_modules file?
    Tomasz Trębski
    @kornicameister
    hey, can someone help me out. Do I need such code while working inside of virtualenv?
    Mainly I prefer yapf but some projects have black, just wonder if explicit setting of fixers is needed or not:
    kornicameister/dotfiles#918
    Dan Aloni
    @da-x
    I wrote an ALE checker for git rebase -i: https://github.com/da-x/depree
    gammaday
    @gammaday
    Hi. I am currently updating my neovim config and have found the g:ale_sign_highlight_linenrs option. I really like it and now want to disable display of errors in the sign column only. Is this possible?