Commit Graph

7 Commits (9fb724a32df476a6b8a0292704ca6b96a1dff061)

Author SHA1 Message Date
iGor milhit 69aa4a5cfd
snippets: add HTML snippets for library portal
- Creates a new file for custom HTML snippets.
- Adds three snippets to be used when updating the clinical medicine
  library portal with bibliographic descriptions:
  - A main HTML structure with CSS styling.
  - An item with some bibliographic description examples.
  - A list item with a link to an ebook online.
- Improves the LuaSnip configuration and moves it outside the nvim-cmp
  configuration.
- Increments the French personal dictionary.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:52 +02:00
iGor milhit 373d358e4b
snippets: fix the inc front matter
- Fixes the front matter for the incremental notes files, removing
  unnecessary metadata and adding the id.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:52 +02:00
iGor milhit 30225fd570
mkdnflow: adapt follow link behavior
- Sets the `perspective.priority` to `current` to get the follow link
  feature behaves as I need, relative to the current buffer.
- Fixes the new file template to avoid a blank column at the begining
  (results in an invalid YAML syntax).

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:51 +02:00
iGor milhit c940b3f6af
completion: set buffer completion to 4 chars
- Set the keyword_length to 4 in order to lighten the buffer completion.
- Add a markdown snippet to add a tags line in my incremental notes.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:51 +02:00
iGor milhit ed705e0321
completion: add completion for text in the buffer
- Adds completion capabilities for text (in the current buffer), with
  the help of `cmp-buffer`).
- Expand the French dictionnary.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:51 +02:00
iGor milhit 558932130f
snippets: add some markdown snippets
- Adds a snippet to create a link in markdown reference syntax.
- Adds a frontmatter snippet for my INC notes.
- Replace the fronmatter snippet for markdown with a formatted one,
  easier to read.
- Improves the description of my markdown snippets.
- Enables the search highlighting.
- Removes unnecessary lualine separator.
- Renames the neo-tree plugin file.
- Lazy loads the zen-mode for markdown files.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:50 +02:00
iGor milhit 08a762f3b2
global: improve the configuration
- Adds the rainbow_csv plugin to improve CSV file support.
- Sets mutliple filetypes for markdown plugins (`pandoc`, `markdown`).
  - `mkdnflow`.
  - `markdownpreview`.
  - `marksman` language server (but it doesn't work for pandoc
    filetype).
- Sets folding level to 1 to fold from the level 2 headings.
- Sets the python virtualenv as python3 provider.
- Updates the English dictionnaries.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:49 +02:00