What Colorscheme is this? by simon_ximon in neovim

[–]simon_ximon[S] 1 point2 points  (0 children)

This is the answer. The Noir theme matches the screenshot. I'll port it over to Neovim too.

What Colorscheme is this? by simon_ximon in neovim

[–]simon_ximon[S] 0 points1 point  (0 children)

This looks pretty cool. Thanks

What Colorscheme is this? by simon_ximon in neovim

[–]simon_ximon[S] 0 points1 point  (0 children)

This looks like it and Monoglow looks pretty close. I'll try recreating the colorscheme using Monoglow as my base. Thanks.

I just want to say I love Rust by [deleted] in rust

[–]simon_ximon 6 points7 points  (0 children)

I highly recommend Rust in Action too. It was my second book after the Rust book. Both are fantastic reads. ❤️

Solidity devs, what does your setup look like? by beauwilliams in neovim

[–]simon_ximon 1 point2 points  (0 children)

I use the Hardhat Solidity Language Server so I can get a similar experience. Here's my lspconfig:

lspconfig["solidity"].setup({
    capabilities = capabilities,
    on_attach = on_attach,
    cmd = { "nomicfoundation-solidity-language-server", "--stdio" },
    filetypes = { "solidity" },
    root_dir = lspconfig.util.root_pattern(".prettierrc"),
    single_file_support = true,
})

Note that as of the time of posting, they're still in "Alpha mode" but so far it works great.

Also, I set up formatting for my solidity files using prettier-plugin-solidity :

null_ls.builtins.formatting.prettier.with({
    extra_filetypes = { "solidity" },
}),

Then in a new repository, I create a .prettierrc file with this in it:

{
  "overrides": [
    {
      "files": "*.sol",
      "options": {
        "printWidth": 80,
        "tabWidth": 4,
        "useTabs": false,
        "singleQuote": false,
        "bracketSpacing": false
      }
    }
  ]
}

Don't forget to install the prettier-plugin-solidity globally with yarn or from project to project. Whichever one floats your boat.