261 Commits

Author SHA1 Message Date
5b266ff8fd A few more C++ names in libraries.
Also support for the `exports` namespace convention.
2021-03-06 01:10:36 -05:00
23a8b88740 Merge branch 'master' of github.com:adamlsd/cshenv 2021-03-03 18:30:51 -05:00
49d2add0fc Make vim load the top line, always. 2021-03-03 18:30:27 -05:00
461ad44738 Add a few more instances of special chars.
I don't usually use them, but they could be useful.
2021-03-02 20:02:57 -05:00
e46a644437 Merge branch 'master' of github.com:adamlsd/cshenv
Conflicts:
	vim/colors/adam.vim
2021-03-02 20:02:42 -05:00
a7b57e8554 Improve the vim highlighting a bit. 2021-03-02 13:58:07 -05:00
41fb29eef0 Add prompt reference symbols.
This one is a bit shaky still, but I now have symbolic,
colour-coded tags in the prompt.  This can be used to point out
interesting lines in pair programming.
2021-03-02 06:47:52 -05:00
3f608c9ad1 Add the menu colours to vim. 2021-03-02 06:35:35 -05:00
62215d5df8 I added more colour support.
These could be used in various situations.
2021-03-02 06:34:41 -05:00
2cfaa4d64a Updated the prompt code.
I removed the need for the ~/.tcsh_cache directory.  The right-side
alignment is handled with terminal control codes.  I stick
exclusively to ANSI/VT-100 control codes.  Everything should support
that by now, it's 2021!
2021-03-02 06:27:19 -05:00
deefb398cc Fix title text colour. 2021-02-27 18:18:46 -05:00
c6d59438e3 Merge branch 'master' of https://github.com/adamlsd/cshenv 2021-02-27 18:15:05 -05:00
78ddd21202 Fix formatting issues. 2021-02-27 18:14:42 -05:00
d6419881ec Added raw terminal code support.
Because I *REALLY* wanted the colours to blink for some constructs,
I've added 1-colour terminal support with raw ANSI escape codes.
These codes match the colours I named, as best I could.

The 1-colour mode permits the ^[[5m or ^[[6m blinking codes to
be emitted raw.  (The `start` and `stop` sequences only are valid
in the 1-colour mode.)  Thus I've recreated all the colour state I
cared about.

I don't expect too many problems, as weird terminals are rare these
days.
2021-02-24 23:56:13 -05:00
8e55a08d67 Remove the user colours for status line from base.
This should be in the colour def, not the base syntax.

This facilitates a proper `colorscheme`.
2021-02-24 23:46:15 -05:00
438257749f Complete rewrite of C++ syntax additions.
Now it's region based and uses keywords mode.  Hopefully this is
faster.  It also enables support for multiple libraries with partially
overlapping symbol sets.  (E.g.: Boost and STL.)
2021-02-24 23:44:29 -05:00
33ef042adb Demand my shell from vim.
Not every system has me logging in as a TCSH user.  Specifically,
qubes guests seem to have trouble with non bourne shells as the
login shell.  For those I use the "start command" feature of
the terminal, but I need to trick VIM into making the shell
be TCSH.
2021-02-24 23:28:18 -05:00
f0c64e25d7 Update the syntax identifier.
I made it now show nested syntax groups in the status line.  This
will facilitate easier debugging of complex syntax files.
2021-02-24 23:27:10 -05:00
e5cd1839a6 Quickfix window gets wrong status line
For some reason, with new vim, another thing got changed.
2020-04-01 18:07:26 -04:00
8098da38a3 Fix vim scroll offset. 2020-04-01 14:11:57 -04:00
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