New answers tagged

1 vote
Accepted

Is it possible to use LSP for font-lock or indentation?

Not really. LSP has a defined set of messages that can be sent back and forth between the editor and the compiler/language environment, and none of them have anything to do with syntax highlighting or ...
user avatar
  • 11.7k
0 votes
Accepted

Why emacs editor changes indent automatically when copy a context into it?

maybe you have enabled better-defaults layer in spacemacs, if so, then it will automatically indent when you paste (yank). In order to paste (yank) without indenting, then prefix the command with C-u ...
user avatar
  • 16
0 votes
Accepted

Changing indent-tabs-mode and electric-indent-mode in a buffer

Again, you can use C-h f to look up the documentation for each of these functions. When you do, you will find that setq-local makes a variable buffer–local and then sets the value of that variable in ...
user avatar
  • 11.7k
0 votes

Can emacs handle bash extglob case patterns properly?

There are a few ways to resolve the syntax error HALF of the problem: Disabling flycheck removes all errors, but does not fix indentation. Setting flycheck-sh-bash-args to '("-O" "...
user avatar
  • 143
0 votes

Can emacs handle bash extglob case patterns properly?

Flycheck is not related to indentation. Flycheck just runs your code to try to find syntax errors. Shellcheck is another way to locate errors; it too has nothing to do with indentation. You should ...
user avatar
  • 11.7k

Top 50 recent answers are included