Giter Site home page Giter Site logo

conceal.nvim's Introduction

Tachchen und Moin Moin

๐Ÿ‘จโ€๐Ÿ’ป About Me :

  • ๐Ÿ‘จโ€๐ŸŽ“ Student from Germany
  • ๐Ÿ’ป Linux Lover (I use Arch BTW)
  • ๐Ÿค” Interested in Programming and optimizing my Workflow
  • ๐Ÿซ open to learn new Stuff

๐Ÿ› ๏ธ Languages and Tools :

๐Ÿซ€ My Hustle

github contribution grid snake animation

conceal.nvim's People

Contributors

amar1729 avatar jxstxs avatar leaxoy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

conceal.nvim's Issues

User custom configurations are not generated

Here's my config in the video below

  local conceal = require 'conceal'
  conceal.setup {
    ['lua'] = {
      enabled = true,
      ['return'] = { highlight = 'keyword', conceal = '๏ก' },
      ['local'] = { highlight = 'keyword', conceal = '~' },
      ['if'] = { highlight = 'keyword', conceal = '?' },
      ['not'] = { highlight = 'keyword', conceal = '๓ฐŸข' },
      ['else'] = { highlight = 'keyword', conceal = '!' },
      ['elseif'] = { highlight = 'keyword', conceal = 'ยฟ' },
      ['function'] = { highlight = 'keyword', conceal = '๓ฐŠ•' },
      ['for'] = { highlight = 'keyword', conceal = '๏€ž' },
      ['while'] = { highlight = 'keyword', conceal = '๓ฐ›ค' },
      ['and'] = { highlight = 'keyword', conceal = 'โ–ผ' },
      ['end'] = { highlight = 'keyword', conceal = '-' },
      ['then'] = { highlight = 'keyword', conceal = 'โ†™' },
      ['in'] = { highlight = 'keyword', conceal = 'โญ˜' },
      ['do'] = { highlight = 'keyword', conceal = '๏ฃ' },
      ['~='] = { highlight = 'keyword', conceal = '๓ฐฆŽ' },
      ['--'] = { highlight = 'keyword', conceal = '' },
      ['require'] = { highlight = 'TSNote', conceal = '๓ฐ‡š' },
      ['print'] = { highlight = 'TSNote', conceal = '๏ƒ†' },
      ['pairs'] = { highlight = 'TSNote', conceal = 'P' },
      ['ipairs'] = { highlight = 'TSNote', conceal = 'I' },
      ['math'] = { highlight = 'TSNote', conceal = '๓ฐ˜' },
      ['break'] = { highlight = 'keyword', conceal = '๓ฐ“›' },
    },
  }

Well the scm files in after folder is actually generated, but it only contains default options, and everytime I run this function to regenerate:

require('conceal').generate_conceals()

Well as you see, nothing had been written or changed

2023-12-05.19-13-46.mp4

How to use custom conceal for languages that are not included by default?

I am trying to use this plugin to conceal "- [ ] " in markdown with "๏˜ญ" or an empty checkbox.
I also want to replace checked checkbox too.
So far I have:

local conceal = require 'conceal'

conceal.setup({
    ["markdown"] = {
        ["- [ ] "] = {
            conceal = "๏˜ญ"
        },
        ["- [X] "] = {
            conceal = "๏˜ฑ"
        }
    }
})

conceal.generate_conceals()

vim.keymap.set("n", "<localleader>tc", function()
    conceal.toggle_conceal()
end, { silent = true})

but this code doesn't seem to work. What do i do?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.