diff --git a/.gitignore b/.gitignore index 2f88b18..52c505d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ -/cmake-build-debug /.idea +/.cache +/.ccls-cache +/compile_commands.json +/cmake-build-debug +/build diff --git a/neovim.sh b/neovim.sh new file mode 100755 index 0000000..13d7f58 --- /dev/null +++ b/neovim.sh @@ -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