Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
783 B

  1. return {
  2. settings = {
  3. Lua = {
  4. runtime = {
  5. -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
  6. version = 'LuaJIT',
  7. -- Setup your lua path
  8. path = vim.split(package.path, ';'),
  9. },
  10. diagnostics = {
  11. -- Get the language server to recognize the `vim` global
  12. globals = {'vim'},
  13. },
  14. workspace = {
  15. -- Make the server aware of Neovim runtime files
  16. library = {
  17. [vim.fn.expand('$VIMRUNTIME/lua')] = true,
  18. [vim.fn.expand('$VIMRUNTIME/lua/vim/lsp')] = true,
  19. },
  20. },
  21. -- Do not send telemetry data containing a randomized but unique identifier
  22. telemetry = {
  23. enable = false,
  24. },
  25. },
  26. },
  27. }