Re: Fedora 32 strange vim behavior?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 13, 2020 at 8:06 AM Łukasz Posadowski <mail@xxxxxxxxxxxxxxxxxxx> wrote:
Sat, 13 Jun 2020 07:21:54 -0500
Richard Shaw <hobbes1069@xxxxxxxxx>:

> Also, it tries to indent for me in some code type files but it's
> using tabs instead of spaces and 8 spaces instead of 4. One would
> think in 2020 that software could "intuit" what the prevailing style
> is.

Are those yaml files, by some accident?

Mostly C/C++ and CMake files. I *THINK* I got it fixed by creating a ~/.vimrc file :

$ cat ~/.vimrc
:set tabstop=4
:set expandtab
:set shiftwidth=4
:set autoindent
:set smartindent
:set cindent

Thanks,
Richard
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux