Giter Site home page Giter Site logo

Comments (9)

Sean-Der avatar Sean-Der commented on May 12, 2024

I just hit this as well using NeoVim v0.2.0-212-gd2998a0a and clang-format @ c1c9bd1

I don't remember this behavior before, so when I get some time I will try to roll back both and find when this started.

from vim-clang-format.

expipiplus1 avatar expipiplus1 commented on May 12, 2024

Similar to nbouscal/vim-stylish-haskell#6

@Sean-Der did you discover anything?

from vim-clang-format.

expipiplus1 avatar expipiplus1 commented on May 12, 2024

This looks like a duplicate of #62

from vim-clang-format.

Sean-Der avatar Sean-Der commented on May 12, 2024

@expipiplus1 I rolled back neovim/vim-clang-format a couple months and still had the behavior, I think I just haven't used split with clang-format before (only use it for a minority of the code bases I work on)

but that vim-go solution looks really promising, are you going to open a PR with that? I am happy to take care of it also, but can't until this weekend.

from vim-clang-format.

expipiplus1 avatar expipiplus1 commented on May 12, 2024

I'm afraid I don't use clang format at the moment so am probably not the best person to open a PR.

I've made this change to another library and it worked very well nbouscal/vim-stylish-haskell#8

from vim-clang-format.

Sean-Der avatar Sean-Der commented on May 12, 2024

Sorry this took so long @expipiplus1 I just opened a PR #74

Also feel free to use my fork

'sean-der/vim-clang-format'

from vim-clang-format.

expipiplus1 avatar expipiplus1 commented on May 12, 2024

from vim-clang-format.

Sean-Der avatar Sean-Der commented on May 12, 2024

Hey @xywei can you try this again, it should be fixed now!

from vim-clang-format.

xywei avatar xywei commented on May 12, 2024

@Sean-Der Works like a charm. Thanks!

from vim-clang-format.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.