Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
9eab9a31
Commit
9eab9a31
authored
Aug 20, 2003
by
Per Cederqvist
Browse files
("KOM"): New C style for c-add-style. This sets up proper indentation
for Emacs.
parent
ec4dbee4
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/kom-style.el
0 → 100644
View file @
9eab9a31
;; Define the indentation style "KOM", for use with GNU Emacs. This
;; file was placed in the public domain by Per Cederqvist on
;; 2003-08-19. Please report bugs or improvements at
;; http://bugzilla.lysator.liu.se/
(
c-add-style
"KOM"
'
((
c-basic-offset
.
4
)
(
c-comment-only-line-offset
.
0
)
(
c-offsets-alist
.
((
statement-block-intro
.
+
)
(
knr-argdecl-intro
.
+
)
(
substatement-open
.
0
)
(
label
.
0
)
(
statement-cont
.
+
)))
(
c-hanging-braces-alist
.
((
brace-list-open
)
(
class-open
after
)
(
inline-close
after
)
(
block-close
.
c-snug-do-while
)))
(
c-hanging-colons-alist
.
((
access-label
after
)
(
case-label
after
)))
(
c-cleanup-list
.
(
defun-close-semi
scope-operator
))))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment