diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2024-07-16 22:28:32 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-07-17 11:11:58 +0200 |
| commit | 5d8220bda0b668cdaf6d89cdf6fa4ba11e853034 (patch) | |
| tree | 1fac9d2cf8e1963ef78673f53156be8617d47b69 /runtime/doc | |
| parent | c146580e9d9fb0d99410665bd42b1edd7405738e (diff) | |
| download | rneovim-5d8220bda0b668cdaf6d89cdf6fa4ba11e853034.tar.gz rneovim-5d8220bda0b668cdaf6d89cdf6fa4ba11e853034.tar.bz2 rneovim-5d8220bda0b668cdaf6d89cdf6fa4ba11e853034.zip | |
vim-patch:3e07d5a: runtime(go): add recommended indent options to ftplugin
related: vim/vim#15264
https://github.com/vim/vim/commit/3e07d5aef19ac34a61b9d58c2e0698351d392f52
Co-authored-by: markmacode <code@mamo.aleeas.com>
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/filetype.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt index 2d2cafb494..cdb6f1d7f0 100644 --- a/runtime/doc/filetype.txt +++ b/runtime/doc/filetype.txt @@ -604,6 +604,17 @@ in the preview window. It is equivalent to calling "git diff --cached" plus any arguments given to the command. +GO *ft-go-plugin* + +By default the following options are set, based on Golang official docs: > + + setlocal noexpandtab softtabstop=0 shiftwidth=0 + +To disable this behavior, set the following variable in your vimrc: > + + let g:go_recommended_style = 0 + + GPROF *ft-gprof-plugin* The gprof filetype plugin defines a mapping <C-]> to jump from a function |