Commit Graph

241 Commits

Author SHA1 Message Date
a79b17d322 Fix some vim stuff. 2020-04-01 14:07:50 -04:00
918439371c Fix installation script wrt vim config. 2020-03-24 17:08:19 -04:00
f33ebf8b32 Fixup the c-inclusion params a bit.
The overly greedy blue-comment star matcher would make all C and C++
code in doxygen look good, but it messes with non-doxygen block comments.
By changing to this `containedin` blocking, we pickup the trailing
`)` and `}` characters that seem to be skipped if just doing the
ticked-region contained requirement.
2018-08-24 11:25:01 -04:00
3ab97900c8 Merge branch 'syntax-flip' 2018-07-02 13:01:08 -04:00
3d32ed613f Update CPlusPlus and Doxygen formats to be better.
Now the `'*'` characters in fixed-width blocks show up correctly,
with respect to how I write code.  (I think doxygen also swallows
them anyhow, so the highlighting is more consistent with doxygen's
parser.)

Also on loading a file, everything looks better now.
2018-07-02 12:57:28 -04:00
0058505789 Made vim highlighting work mostly how I want now.
I made `cpp.cplusplus` a hybrid filetype which tricks the vim
highlighting into believing that we're really in raw C++ for the
purposes of the core vim highlighting rules.  My `cplusplus` type
adds more bits to the core stuff, but mostly exists to let
doxygen slip in the way that I want it to.
2018-06-22 01:16:34 -04:00
2d9b12eeb4 Merge branch 'vim-formatting' into syntax-flip 2018-06-21 01:38:56 -04:00
354fa0e33c Migrate to a "cplusplus" filetype for C++ in vim.
This "cplusplus" filetype permits the sourcing of `cpp.vim`
and `doxygen.vim` as lower-level files from itself.  This should
permit `doxygen.vim` to source from `cpp.vim` and avoid endless
recursion, when handling code-in-comments formatting.
2018-06-21 01:35:16 -04:00
0dd3953f81 Add mongo core syntax changes.
Some of these I'll port into my new central file arrangements.
2018-06-21 00:05:42 -04:00
0f518cb3e0 FreeBSD less options improvement.
When less hits the end, I want it to not quit.  But I also want
less to not page at all on content which fits onto a single screen.
2018-06-20 15:38:09 -04:00
d67b689666 Cleanup some BSD specific variables.
Linux and BSD pick up the ls colours variables under different
circumstances now.
2018-06-20 15:30:25 -04:00
9ca5cf3889 Add an installation script.
This now permits simpler installation and setup of my environment,
when the core configuration is stored at `~/cshenv`.  If stored
elsewhere, the file would have to be edited.  I'll think up an automatic
solution to this later.
2018-06-19 22:27:21 -04:00
0d1f7ce860 Migrate commit signing to gitconfig option.
This is kept, for now, in `~/.gitconfig` thus:

```
[commit]
    gpgSign = true
```

This might be migrated into the universal gitconfig, but
that would require key setup for ephemeral cases.
2018-05-07 16:36:04 -04:00
6ba03c8dc4 More C++ highlights! YAY! :-) 2017-10-06 18:38:35 -04:00
80db7efdd6 More C++ syntax highlighting.
Exceptions, more STL functions, and calling out the dangerous
`std::unique_ptr< T >::release` function (albeit somewhat
over-aggressively).
2017-10-03 20:34:29 -04:00
9842682442 More STL highlighting and constants highlighting.
Support for `k[A-Z][a-zA-Z0-9_]` style constant naming conventions.
2017-08-28 19:41:18 -04:00
8e35f24924 Add highlighting for STL bits. 2017-08-28 11:20:30 -04:00
17cae3fdea Merge branch 'master' of github.com:adamlsd/cshenv 2016-12-01 15:10:49 -05:00
4e565a2b22 Change diff highlighting a bit. 2016-12-01 15:10:37 -05:00
e622f13aee Fix comment background color.
Document matchparens.
2016-12-01 01:01:07 -05:00
1754aeb20b Cleaned up and updated the doxygen look a bit.
With more options available it should look better, but I hope
it defaults to something reasonable in lower-color terminals.
2016-11-30 19:28:26 -05:00
e77584f9dc Make doxygen comments look better.
Bold for brief function descriptionss looks a bit better
to me.  (It looks like how it did on  the old 8-color terminal
view.)
2016-11-30 19:01:41 -05:00
5e49cbb18b Fixed the longstanding xterm problem.
For ages I've had problems with 256-color xterm and vim.  I never
used a proper colorscheme, but just modified the default I was
"magically" given.  This changes all of that to make us now have
a proper color scheme -- the "adam" scheme.

Colors now work independent of console color depth, I think.
There are remaining quirks, but I'll have to add the requirements
as proper color mappings to my color scheme file.
2016-11-30 18:50:46 -05:00
67138aafd4 Gitignore for user-modified files here. 2016-11-30 18:44:04 -05:00
98c07be7dc Integrate FreeBSD. 2016-11-30 18:34:58 -05:00
d4dd8e0987 Better git and pass integration. 2016-11-30 18:32:55 -05:00
df09934f4f ADAM Formatting bits. (Might not keep it here.) 2016-10-06 12:55:09 -04:00
b2123da1ac Git updates. 2016-10-06 12:53:47 -04:00
99d727fdd6 Vim updates. 2016-10-06 12:53:30 -04:00
00d3aff54e Merge branch 'aix-tweaks' into initial-rework 2014-04-08 15:02:45 -04:00
6eca81da3d AIX systems need to use the SYSV stty(1) variant.
In generating CSHENV prompts, I used stty(1) to find the width
of the current terminal, at sourcing time.  SYSV and BSD use
different output formats.  Presently I have tcshrc.prompt.defs
default to 80 columns when I don't know how to parse stty(1)'s
output.  AIX is known to be a SYSV variant, and I've added a
case to handle this.
2014-04-08 15:02:29 -04:00
d16e201cbe Merge branch 'vimsyntax' into initial-rework 2014-02-17 15:06:20 -05:00
e44e5710fb Merge branch 'vimsyntax' of https://github.com/adamlsd/cshenv into vimsyntax 2014-02-17 15:05:23 -05:00
f2302bb938 Merge branch 'vimsyntax' into initial-rework 2014-02-17 15:03:59 -05:00
df563da88b Merge branch 'sunos-tweaks' into initial-rework
Conflicts:
	tcshrc.prompt.defs
2014-02-17 14:55:39 -05:00
41048d4e6f Merge branch 'cygwin-fixes' into initial-rework 2014-02-17 13:54:21 -05:00
2b3e182617 Merge remote branch 'github/cygwin-fixes' into vimsyntax 2014-02-17 13:51:39 -05:00
666e62a1c5 Merge branch 'vimsyntax' into initial-rework 2014-02-15 20:40:24 -05:00
1dcc374f3e Added Example and DocNotes highlight classes. 2014-02-15 20:38:00 -05:00
58ba7b44ce Don't dual source in after files.
Now that we're properly using vimrc after files for syntax adaptations, we
don't need to emulate the original C++ file in-situ
2014-02-15 20:36:50 -05:00
ea7b1d1eca Fixed vim syntax documentation. 2014-02-15 20:36:23 -05:00
2da953664e Fixed tabbing to real tab chars per ADAM style. 2014-02-15 20:06:37 -05:00
efc0aec56e Changed linux comment to be more fair and accurate 2014-02-15 20:03:51 -05:00
2806581d10 Documented SysV-like prompt width in source. 2014-02-15 20:03:16 -05:00
3013a34d0e Setup git color for always, for passing to pagers 2014-02-04 17:02:32 -05:00
3163af4283 SunOS was not in the check list for screen width. 2014-02-03 17:05:12 -05:00
ef94fbcd84 Merge branch 'initial-rework' of https://github.com/adamlsd/cshenv into initial-rework 2014-02-02 17:25:11 -05:00
eb00a2f064 Merge branch 'vimsyntax' into initial-rework 2014-02-02 17:24:26 -05:00
a888047293 New c vim syntax file. 2014-02-02 17:23:12 -05:00
8247b122bd Merge branch 'initial-rework' into cygwin-fixes 2014-02-02 17:03:03 -05:00