Neovim
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,2 +1,6 @@
|
||||
/cmake-build-debug
|
||||
/.idea
|
||||
/.cache
|
||||
/.ccls-cache
|
||||
/compile_commands.json
|
||||
/cmake-build-debug
|
||||
/build
|
||||
|
14
neovim.sh
Executable file
14
neovim.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
rm compile_commands.json
|
||||
rm -rf cmake-build-debug/
|
||||
rm -rf build/
|
||||
rm -rf compile_commands.json
|
||||
|
||||
mkdir cmake-build-debug/
|
||||
cd cmake-build-debug
|
||||
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ../
|
||||
cp compile_commands.json ../compile_commands.json
|
||||
cd ..
|
||||
|
||||
clear
|
||||
nvim
|
Reference in New Issue
Block a user