Compare commits

..

14 Commits

Author SHA1 Message Date
iGor milhit 05bace5665
spell: add two words in the French dictionary
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-23 08:43:25 +02:00
iGor milhit e5298b6bb3
completion: support non ascii with cmp-buffer
- Supports non ASCII chars in text completion (cmp-buffer).
- Restore the luasnip configuration inside the nvim-cmp configuration,
  as it is indeed closely related. I didn't understood it in the first
  place.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-23 08:43:25 +02:00
iGor milhit 43841e7a5b
snippets: add HTML and commit snippets
- Creates a new file for custom HTML snippets.
- Creates 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.
- Creates a snippet for commit message to save working hours.
- Creates snippet for incremental note commits.
- Creates snippet for AoU stats commits.
- Removes redundant markdown snippets for the date.
- Improves the markdown snippet for incremental note entry.
- 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-23 08:43:25 +02:00
iGor milhit 5433a5538d
json: add configuration for JSON
- Adds the `json` parser to the treesitter languages for linting
  purpose.
- Adds `jsonls` as language server provider for JSON.
- Creates the `after/ftplugin` folders.
- Sets specific settings for JSON for folding method.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-23 08:43:24 +02:00
iGor milhit 5167c5c6be
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-23 08:43:24 +02:00
iGor milhit 4d92ad9863
telescope: add a plugin to use Ag
- Adds a plugin to use Ag The Silversearcher with Telescope.
- Improves some comments.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-23 08:43:24 +02:00
iGor milhit af95122e63
config: set changes preview
- Sets the `inccommand` option to `nosplit` to preview the changes
  before accepting them with the substitute command.
- Removes unused configuration.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-23 08:43:24 +02:00
iGor milhit 8543c689b0
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-23 08:43:24 +02:00
iGor milhit 8f5d37f313
plugin: install, configure Grammalecte
- Grammalecte is a French language checker. This plugin requires the
  python package `Grammalecte` that provide `grammalecte-cli` and
  `grammalecte-server`.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-23 08:43:23 +02:00
iGor milhit ccf1fe4030
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-23 08:43:23 +02:00
iGor milhit a9fc78d5b6
plugin: ensure to use the legacy tag for fidget
- Ensures to use the legacy tag for the fidget plugin, as it will be
  under active development and rewritting.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-23 08:43:23 +02:00
iGor milhit 4604bf5925
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-23 08:43:23 +02:00
iGor milhit c2fdfafae4
plugins: improve md preview, install ToggleTerm
- Fixes the markdown preview node package installation.
- Removes the markdown preview theme configuration.
- Adds the ToggleTerm plugin that allows to improve the managment of
  terminal buffers and configures it.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-23 08:41:22 +02:00
iGor milhit 7c52a10de3
snippets: load my own, add markdown snippets
- Renames the snippets folder to my_snippets.
- Lazy loads my snippets.
- Creates two snippet example available for all filetypes.
- Creates three snippets for markdown filetype.
- Creates a markdown snippet to get the number of the curret day.
- Creates a markdown snippet to get the current date.
- Creates a snippet to create a link in markdown reference syntax.
- Creates a generic frontmatter snippet.
- Creates a frontmatter snippet for my incremental notes (journal).
- Improves the description and description syntax of my markdown
  snippets.
- Adds the telescope luasnip plugin.
- Sets a keymaping to fuzzy search all available snippets (<leader>ss).
- Documents the feature of the plugin that provides the snippets search
  through telescope.
- Enables the search highlighting.
- Removes unnecessary lualine separator.
- Renames the neo-tree plugin file.
- Lazy loads the zen-mode for markdown files.
- Installs and configure texlab which provides LSP and linter for LaTeX.
  Should also allow to build a project, but It is failling right now, I
  don't get why.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-23 08:31:22 +02:00

Diff Content Not Available