grace/dots

dotfiles/nix configs

git clone https://git.gae.moe/grace/dots

Grace Yoderhx and vcs changesddf0c79

main
948 B33 linesraw
1return {
2  cmd = {
3    'clangd',
4    -- '--clang-tidy',
5    '--background-index',
6    '--offset-encoding=utf-8',
7    '--query-driver=/Users/scie/.platformio/packages/toolchain-xtensa-esp32/**',
8    '--query-driver=/Users/scie/.platformio/packages/framework-arduinoststm32/**',
9    -- '--query-driver=/Users/scie/.platformio/packages/**',
10    -- '--query-driver=/opt/homebrew/Cellar/avr-gcc@9/9.4.0_1/bin/avr-gcc',
11    -- '--query-driver=/opt/homebrew/Cellar/avr-gcc@9/9.4.0_1/bin/avr-g++'
12  },
13  filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda', 'proto', 'arduino' },
14  root_markers = {
15    '.clangd',
16    '.clang-tidy',
17    '.clang-format',
18    'compile_commands.json',
19    'compile_flags.txt',
20    'configure.ac', -- AutoTools
21    '.git',
22    '.jj'
23  },
24  single_file_support = true,
25  capabilities = {
26    textDocument = {
27      completion = {
28        editsNearCursor = true,
29      },
30    },
31    offsetEncoding = { 'utf-8', 'utf-16' },
32  },
33}