Skip to content

CodeSigils/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nvim setup

Personal Neovim setup based and extends on 💤 LazyVim.

Pre-installation

Remove or make a backup current Neovim directories:

# required
mv ~/.config/nvim{,.bak}

# optional but recommended
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}

Markdown and mdx

Markdown with marksman, markdownlint and markdown_inline

  • Start preview with <leader>mp
  • Stop preview with <leader>ms
  • Toggle preview with <leader>mt

TODO

mdx syntax setup in tree-sitter in ./lua/plugins/treesitter.lua passing opts to configuration is only working on a basic level. Investigate:

return {
  {
    opts = {},
    ...
    config = function(_, opts)
      require("nvim-treesitter.configs").setup(opts)
      -- MDX
      vim.filetype.add({
        extension = {
          mdx = "markdown.mdx",
        },
        filename = {
        },
        pattern = {
        },
      })
      vim.treesitter.language.register("markdown", "mdx")
    end,
  },
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages