-
-
Notifications
You must be signed in to change notification settings - Fork 107
doom indentation #226
Comments
Hi, this is not a problem, we have a CI to automatically format the source code according to our coding style. However it would be great to avoid having the format source code commits lol. Let's leave this open and use modeline comments to hardcode the doom files indentation, you can do it it you want to. Neovim reads the comments that starts with -- vim: sw=2:ts=2=sts=2 This sets the file indentation to 2 (shiftwidth, tabstop and softtabstop) when opening it, afaik this comment can be at top or bottom of the file but let's add them at bottom 🤔 |
I stumbled upon another indentation issue. I created this user aucmd. Is there anything I should add to it because doom Make still complains autocmds = {
-- :autocmd FileType make set noexpandtab
makefile = {
{ 'FileType', 'make', 'set noexpandtab'},
}
}, |
hmm, it worked when I manually redid all of the indents in my makefile. okay, so when I copy paste makefile code from github into my local file, then it doesn't reindent properly, but if I '<<' everything into column 0 and then reindent file. then it indents correctly. |
another thing that I can mention also is that |
Closed due to inactivity. Made a new issue for general issues with indenter here #364 |
I have not changed the indenation in
doom_config.lua
and when I run the built invisual mode indent with
=
it reindents all the files in core. Is this a problemif I want to submit a PR?
The text was updated successfully, but these errors were encountered: