craftzdog / dotfiles-public

My personal dotfiles
6.13k stars 1.16k forks source link

treesitter for typescript not working #161

Closed stormespace closed 4 months ago

stormespace commented 4 months ago

why when i install the treesitter for typescript it looks like this code and in the video it was like this code2

PowerzinBR commented 4 months ago

Don't understand? It's working as expected. If you're talking about the color pallete, it may be different for colorschemes of terminal ig 🤷

stormespace commented 4 months ago

how can i change that

PowerzinBR commented 4 months ago

Since you're using Windows Terminal, and me too First press the shorcut: CTRL + , - This will launch your Settings page. On the sidebar, click on Color Scheme tempsnip

This will launch your colorscheme preferences (By the way, craftzdog uses a Solarized Osaka theme based on Solarized Colors, i think it have a option that you can use terminal colorscheme, instead of using predefined colors from the theme), after that search for Solarized Dark colorscheme (Takuya use's One Half Dark with a Solarized background color)

I have a custom theme for this, if you want me to send it (it's customized to adapt my workflow) image

Well. I hope it help's you.

By the way if you want a blurry background, use acrylic background in your terminal appearence, please search it.

PowerzinBR commented 4 months ago

And there's probably a diff in your tree-sitter version and craftzdog, i don't know what you're saying abt :<

stormespace commented 4 months ago

thanks can you show me how it looks and send me your colortheme

PowerzinBR commented 4 months ago

Sure. Here's the json file of the custom theme. Remember it doesn't have the full color palete of Solarized Dark, it's pretty much blue (cause i use starship prompt, instead of oh-my-posh)

{
            "background": "#001C24",
            "black": "#001C24",
            "blue": "#268BD2",
            "brightBlack": "#FFFFFF",
            "brightBlue": "#86D0F5",
            "brightCyan": "#63AEFF",
            "brightGreen": "#9FFF81",
            "brightPurple": "#6C71C4",
            "brightRed": "#CB4B16",
            "brightWhite": "#67AFFD",
            "brightYellow": "#FFFFFF",
            "cursorColor": "#FFFFFF",
            "cyan": "#111D57",
            "foreground": "#F9F4FC",
            "green": "#60DDFF",
            "name": "Solarized Dark",
            "purple": "#D33682",
            "red": "#DC322F",
            "selectionBackground": "#FFFFFF",
            "white": "#5DBAFF",
            "yellow": "#172B66"
        },

Paste this in your JSON file of Windows Terminal. Or just copy the values and paste in your desired color pallete. If you don't like it, Terminal haves a pre defined Solarized theme for the app, it haves pretty much all the colors, so i hope you like it

stormespace commented 4 months ago

it pretty good thanks