2021-04-09 14:35:47 +02:00
|
|
|
# dot-files
|
|
|
|
|
2021-04-10 16:24:53 +02:00
|
|
|
Unitoo standardized dotfiles.
|
|
|
|
|
|
|
|
## Directory Logic
|
|
|
|
|
2021-04-10 16:29:35 +02:00
|
|
|
The directory tree logic is the following: `program_name/program_name.conf` \
|
|
|
|
Each conf file can have
|
|
|
|
an associated Markdown file named `program_name/program_name.md` \
|
|
|
|
|
|
|
|
You can also put the conf inside the actual path
|
|
|
|
of the configuration file following this logic: \
|
|
|
|
`program_name/path/to/conf/program_name.conf,
|
2021-04-10 16:32:25 +02:00
|
|
|
program_name/path/to/conf/program_name.md`
|
2021-04-10 16:26:56 +02:00
|
|
|
**Examples:** `neovim/neovim.conf, nginx/etc/nginx/nginx.conf`
|
2021-04-10 16:24:53 +02:00
|
|
|
|
|
|
|
## Syntax highlighting
|
|
|
|
|
2021-04-10 16:32:25 +02:00
|
|
|
In order to display the proper syntax highlighting on Gitlab,
|
2021-04-10 16:26:56 +02:00
|
|
|
edit the .gitattribute file accordingly: \
|
2021-04-10 16:24:53 +02:00
|
|
|
|
2021-04-10 16:26:56 +02:00
|
|
|
```txt
|
2021-04-10 16:24:53 +02:00
|
|
|
neovim/** gitlab-language=vim
|
|
|
|
spacemacs/** gitlab-language=elisp
|
2021-04-10 16:26:56 +02:00
|
|
|
```
|