Git Product home page Git Product logo

nvchadcustom's Introduction

NvChadCustom

Neovim config

nvchadcustom's People

Contributors

arjhe avatar

Watchers

 avatar

nvchadcustom's Issues

Nvim installation

Install Issue

  1. WARNING: tree-sitter executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)
  1. WARNING: node executable not found (only needed for :TSInstallFromGrammar, not required for :TSInstall)
sudo apt install nodejs
  1. ERROR: cc executable not found.
sudo apt install clangd

Error loading custom/init.lua

Error loading custom/init.lua

/home/tetsu/.config/nvim/lua/custom/init.lua:2: attempt to index a boolean value
-- MAPPINGS
local map = require("core.utils").map

map("n", "<leader>cc", ":Telescope <CR>")
map("n", "<leader>q", ":q <CR>")

-- complite *.cpp and execute
map("n", "<C-x>", ":!g++ -o %:r.exe % -std=c++11 && %:r.exe <CR>")
map("n", "<C-w>", ":!clang++ -o %:r.exe % && %:r.exe <CR>")


-- NvChad 的 <leader>fm shortcut 預設只在設妥 lsp server 時才有作用,但 null-ls format 不需要 lsp server
map("n", "<leader>fm", ":lua vim.lsp.buf.formatting_sync() <CR>")

-- NOTE: the 4th argument in the map function is be a table i.e options but its most likely un-needed so dont worry about it

vim.cmd ":set noswapfile"
vim.cmd ":set iskeyword+=_"

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.