aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.h
diff options
context:
space:
mode:
authorGravatar Łukasz Niemier <lukasz@niemier.pl>2012-11-18 11:23:22 +0100
committerGravatar Łukasz Niemier <lukasz@niemier.pl>2012-11-18 11:23:22 +0100
commit47df1ae40adecd0a02fc7dd06ab0745cb18c3fe0 (patch)
tree13bf3e8fdcae60fdfb5fa5e26c95818dc7a49790 /highlight.h
parentb79854ad1aa814d9d35d76a1929b4726fa4bffa5 (diff)
Remove trailing whitespaces and change tabs to spaces
Diffstat (limited to 'highlight.h')
-rw-r--r--highlight.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/highlight.h b/highlight.h
index 22121e48..dc8a0305 100644
--- a/highlight.h
+++ b/highlight.h
@@ -1,5 +1,5 @@
/** \file highlight.h
- Prototypes for functions for syntax highlighting
+ Prototypes for functions for syntax highlighting
*/
#ifndef FISH_HIGHLIGHT_H
@@ -59,7 +59,7 @@
/**
Internal value representing highlighting of an IO redirection
*/
-#define HIGHLIGHT_REDIRECTION 0x800
+#define HIGHLIGHT_REDIRECTION 0x800
/**
Internal value representing highlighting a potentially valid path
*/
@@ -79,7 +79,7 @@ struct file_detection_context_t;
for each character in buff.
\param buff The buffer on which to perform syntax highlighting
- \param color The array in wchich to store the color codes. The first 8 bits are used for fg color, the next 8 bits for bg color.
+ \param color The array in wchich to store the color codes. The first 8 bits are used for fg color, the next 8 bits for bg color.
\param pos the cursor position. Used for quote matching, etc.
\param error a list in which a description of each error will be inserted. May be 0, in whcich case no error descriptions will be generated.
*/
@@ -91,7 +91,7 @@ void highlight_shell( const wcstring &buffstr, std::vector<int> &color, size_t p
for each character in buff.
\param buff The buffer on which to perform syntax highlighting
- \param color The array in wchich to store the color codes. The first 8 bits are used for fg color, the next 8 bits for bg color.
+ \param color The array in wchich to store the color codes. The first 8 bits are used for fg color, the next 8 bits for bg color.
\param pos the cursor position. Used for quote matching, etc.
\param error a list in which a description of each error will be inserted. May be 0, in whcich case no error descriptions will be generated.
*/
@@ -101,7 +101,7 @@ void highlight_universal( const wcstring &buffstr, std::vector<int> &color, size
Translate from HIGHLIGHT_* to FISH_COLOR_* according to environment
variables. Defaults to FISH_COLOR_NORMAL.
- Example:
+ Example:
If the environment variable FISH_FISH_COLOR_ERROR is set to 'red', a
call to highlight_get_color( HIGHLIGHT_ERROR) will return
@@ -125,7 +125,7 @@ bool autosuggest_suggest_special(const wcstring &str, const wcstring &working_di
enum {
/* The path must be to a directory */
PATH_REQUIRE_DIR = 1 << 0,
-
+
/* Expand any leading tilde in the path */
PATH_EXPAND_TILDE = 1 << 1
};