Raku / vim-raku

Vim runtime files for Raku support
MIT License
46 stars 12 forks source link

indent/raku.vim should be using shiftwidth() #37

Open Heptite opened 2 years ago

Heptite commented 2 years ago

Description of issue

indent/raku.vim doesn't properly indent when &shiftwidth is is 0 (which in newer versions of Vim means to use the value of &tabstop).

Solution

Replace all occurrences of &sw in the indent/raku.vim file with shiftwidth()

Heptite commented 2 years ago

Also, the header needs to point to this repository instead of vim-perl.